Skip to content

Commit

Permalink
2.1.4: Better support adding new dynamic pages
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmalmgren committed May 9, 2020
1 parent f28e43d commit 69a384a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bolingbrook-church",
"version": "2.1.3",
"version": "2.1.4",
"private": true,
"dependencies": {
"@material-ui/core": "^4.9.9",
Expand Down
1 change: 0 additions & 1 deletion src/bc-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const BCSwitch: FunctionComponent<{}> =
client
.getEntries<PageData>({ content_type: 'page' })
.then(collection => {
console.log(collection.items.map(e => e.fields.path))
setPages(collection.items.map(e => e.fields.path))
})
}
Expand Down

0 comments on commit 69a384a

Please sign in to comment.