Skip to content

Commit

Permalink
Update nextjs version to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 28, 2024
1 parent e41cfb4 commit c692a2b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/about/PartnerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const PartnerCard = ({ card }) => {
<Image
src={card.img}
alt={`${card.name} logo`}
className={card.class && card.class}
className={card.class ? card.class : ''}
width={108}
height={108}
placeholder="blur"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-assam",
"version": "0.9.0",
"version": "1.0.0",
"private": true,
"homepage": "",
"directories": {
Expand Down Expand Up @@ -33,7 +33,7 @@
"file-saver": "^2.0.5",
"lodash": "^4.17.21",
"lucide-react": "^0.279.0",
"next": "^12.0.1",
"next": "^12.3.4",
"next-translate": "^0.20.2",
"next-transpile-modules": "^9.0.0",
"nextjs-progressbar": "^0.0.16",
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const MyApp: React.FC<Props> = ({ Component, pageProps }) => {
return () => {
router.events.off('routeChangeComplete', handleRouteComplete);
};
}, [router.events]);
}, [router]);

return (
<Layout>
Expand Down

0 comments on commit c692a2b

Please sign in to comment.