Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Oct 14, 2022
1 parent 238e4bb commit 0b5713b
Show file tree
Hide file tree
Showing 3 changed files with 3,656 additions and 4,144 deletions.
36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,36 @@
"got": "^12.0.3",
"isomorphic-unfetch": "^3.1.0",
"lqip-modern": "^1.2.0",
"next": "^12.2.3",
"next": "^12.3.1",
"next-api-og-image": "^2.2.1",
"node-fetch": "^2.6.1",
"notion-client": "^6.12.6",
"notion-types": "^6.12.6",
"notion-utils": "^6.12.6",
"notion-client": "^6.13.11",
"notion-types": "^6.13.4",
"notion-utils": "^6.13.4",
"p-map": "^5.3.0",
"p-memoize": "^6.0.1",
"posthog-js": "^1.20.2",
"react": "^17.0.2",
"react": "^18.2.0",
"react-body-classname": "^1.3.1",
"react-dom": "^17.0.2",
"react-notion-x": "^6.12.7",
"react-dom": "^18.2.0",
"react-notion-x": "^6.15.3",
"react-tweet-embed": "^2.0.0",
"react-use": "^17.3.2",
"rss": "^1.2.2"
},
"devDependencies": {
"@next/bundle-analyzer": "^12.1.0",
"@types/node": "^17.0.23",
"@types/node-fetch": "^3.0.3",
"@types/react": "^17.0.31",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"@next/bundle-analyzer": "^12.3.1",
"@types/node": "^18.8.5",
"@types/react": "^18.0.21",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"cross-env": "^7.0.2",
"eslint": "^8.11.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"typescript": "^4.4.4"
"prettier": "^2.7.1",
"typescript": "^4.8.4"
},
"resolutions": {
"next-api-og-image/chrome-aws-lambda": "6.0.0",
Expand Down
4 changes: 3 additions & 1 deletion pages/[pageId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { resolveNotionPage } from 'lib/resolve-notion-page'
import { PageProps, Params } from 'lib/types'
import { NotionPage } from 'components'

export const getStaticProps: GetStaticProps<PageProps, Params> = async (context) => {
export const getStaticProps: GetStaticProps<PageProps, Params> = async (
context
) => {
const rawPageId = context.params.pageId as string

try {
Expand Down
Loading

0 comments on commit 0b5713b

Please sign in to comment.