Adds @netlify/plugin-nextjs package & fixed dashboard link id

This commit is contained in:
Aidan Marshall 2022-10-25 15:01:49 +01:00
parent 94dc915272
commit 574dbff07e
4 changed files with 827 additions and 17 deletions

View File

@ -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>

View File

@ -1,2 +1,5 @@
[functions]
included_files = ["node_modules/.geo/**"]
[[plugins]]
package = "@netlify/plugin-nextjs"

View File

@ -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",

838
yarn.lock

File diff suppressed because it is too large Load Diff