Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/nextjs 10 #737

Merged
merged 2 commits into from Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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