Skip to content

Commit

Permalink
chore: update eslint and next major dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Nov 9, 2024
1 parent 99b1194 commit cc8e8ea
Show file tree
Hide file tree
Showing 5 changed files with 265 additions and 311 deletions.
2 changes: 1 addition & 1 deletion pwa/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals"]
}
2 changes: 1 addition & 1 deletion pwa/components/book/Show.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const Show: NextPage<Props> = ({ data, hubURL }) => {
setBookmark(null);
}
})()
}, [data, status]);
}, [session, data, status]);

return (
<div className="container mx-auto max-w-7xl items-center justify-between p-6 lg:px-8">
Expand Down
2 changes: 1 addition & 1 deletion pwa/components/review/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const List: FunctionComponent<Props> = ({ book }) => {
return;
}
})();
}, [book, page, status, reload]);
}, [session, book, page, status, reload]);

const getPagePath = (page: number): string =>
`${getItemPath(book, '/books/[id]/[slug]')}?page=${page}#reviews`;
Expand Down
6 changes: 3 additions & 3 deletions pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@tanstack/react-query-next-experimental": "^5.59.20",
"autoprefixer": "^10.4.20",
"formik": "^2.4.6",
"next": "^14.2.17",
"next": "^15.0.3",
"next-auth": "5.0.0-beta.16",
"picocolors": "^1.1.1",
"postcss": "^8.4.47",
Expand All @@ -47,8 +47,8 @@
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.17",
"eslint": "^9.14.0",
"eslint-config-next": "^15.0.3",
"typescript": "^5.6.3"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit cc8e8ea

Please sign in to comment.