Skip to content

Commit

Permalink
Merge pull request #737 from tinacms/chore/nextjs-10
Browse files Browse the repository at this point in the history
Chore/nextjs 10
  • Loading branch information
dwalkr committed Oct 29, 2020
2 parents 153f912 + a52f7d2 commit b3238bd
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 122 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -23,7 +23,7 @@
"deploy": "yarn build && yarn export"
},
"dependencies": {
"@next/bundle-analyzer": "^9.4.4",
"@next/bundle-analyzer": "^10.0.0",
"@types/react-instantsearch-dom": "^5.2.6",
"@types/styled-components": "^4.4.2",
"airtable": "^0.9.0",
Expand All @@ -50,7 +50,7 @@
"matter": "^0.2.0",
"moment": "^2.24.0",
"moment-locales-webpack-plugin": "^1.2.0",
"next": "^9.5.4",
"next": "^10.0.0",
"next-seo": "^4.1.0",
"next-svgr": "0.0.2",
"next-tinacms-github": "^0.32.0",
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/[...slug].tsx
Expand Up @@ -126,7 +126,7 @@ export const getStaticPaths: GetStaticPaths = async function() {
const contentDir = './content/docs/'
const files = await fg(`${contentDir}**/*.md`)
return {
fallback: 'unstable_blocking',
fallback: 'blocking',
paths: files
.filter(file => !file.endsWith('index.md'))
.map(file => {
Expand Down
4 changes: 2 additions & 2 deletions pages/docs/releases.tsx
Expand Up @@ -42,8 +42,8 @@ function DocTemplate(props) {
})
.map(release => {
return (
<li>
<Link href="/docs/[...slug]" as={release.slug}>
<li key={release.slug}>
<Link href={release.slug}>
<a>
<h4>{release.title}</h4>
</a>
Expand Down

1 comment on commit b3238bd

@vercel
Copy link

@vercel vercel bot commented on b3238bd Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.