Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraKumo001 committed Aug 16, 2023
1 parent dab5518 commit afddbfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const AnimationList = ({ page }: { page: number }) => {
const { data, refetch } = useSuspenseQuery<PageData>(QUERY, {
variables: { page, perPage: 10 },
});
const { currentPage, lastPage } = data?.Page?.pageInfo ?? {};
const { currentPage, lastPage } = data.Page.pageInfo;
return (
<>
<button onClick={() => refetch()}>Refetch</button>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-libraries/apollo-ssr",
"version": "0.0.2",
"version": "0.0.3",
"main": "./dist/index.mjs",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit afddbfc

Please sign in to comment.