Skip to content

Commit

Permalink
Adds @netlify/plugin-nextjs package & fixed dashboard link id
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanm1999 committed Oct 25, 2022
1 parent 94dc915 commit 574dbff
Show file tree
Hide file tree
Showing 4 changed files with 827 additions and 17 deletions.
2 changes: 1 addition & 1 deletion components/settings/AccountSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function AccountSettings() {
const Checkmark = ({ isAdmin }) => (isAdmin ? <Icon icon={<Check />} size="medium" /> : null);

const DashboardLink = row => (
<Link href={`/dashboard/${row.userId}/${row.username}`}>
<Link href={`/dashboard/${row.id}/${row.username}`}>
<a>
<Icon icon={<LinkIcon />} />
</a>
Expand Down
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[functions]
included_files = ["node_modules/.geo/**"]

[[plugins]]
package = "@netlify/plugin-nextjs"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
},
"devDependencies": {
"@formatjs/cli": "^4.2.29",
"@netlify/plugin-nextjs": "^4.27.3",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-replace": "^4.0.0",
"@svgr/webpack": "^6.2.1",
Expand Down
Loading

0 comments on commit 574dbff

Please sign in to comment.