Skip to content

Commit

Permalink
Update dependencies and bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
craigary committed Mar 3, 2022
1 parent 702854d commit 5513bf8
Show file tree
Hide file tree
Showing 4 changed files with 560 additions and 1,655 deletions.
2 changes: 1 addition & 1 deletion components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Header = ({ navBarTitle, fullWidth }) => {
// return () => {
// if (sentinalRef.current) obvserver.unobserve(sentinalRef.current)
// }
/* eslint-disable-line */
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [sentinalRef])
return (
<>
Expand Down
2 changes: 1 addition & 1 deletion lib/notion/getAllPageIds.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function getAllPageIds (collectionQuery, viewId) {
} else {
const pageSet = new Set()
Object.values(views).forEach(view => {
view?.blockIds?.forEach(id => pageSet.add(id))
view?.collection_group_results?.blockIds?.forEach(id => pageSet.add(id))
})
pageIds = [...pageSet]
}
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"postbuild": "next-sitemap --config next-sitemap.config.js"
},
"dependencies": {
"axios": ">=0.24.0",
"axios": ">=0.21.1",
"feed": "^4.2.2",
"gitalk": "^1.7.2",
"next": "^12.0.5",
"next": "^12.1.0",
"notion-client": "^4.10.0",
"notion-utils": "^4.10.0",
"preact": "^10.5.15",
Expand All @@ -46,9 +46,6 @@
"postcss": "^8.3.11",
"tailwindcss": "^2.2.19"
},
"resolutions": {
"axios": ">=0.21.1"
},
"bugs": {
"url": "https://github.com/craigary/nobelium/issues",
"email": "i@craigary.net"
Expand Down
Loading

0 comments on commit 5513bf8

Please sign in to comment.