Skip to content

Commit

Permalink
fix: set window.sections
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Jul 23, 2024
1 parent 7afb651 commit 096b080
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ function App() {
} else if(key.includes('start-page')) {
setStartPage(d[key])
} else if(key.includes('sections')) {
setSections(d[key])
setSearchPage(d[key])
let sections = d[key]
setSections(sections)
setSearchPage(sections)
window.sections = sections;
}
}
})
Expand Down

0 comments on commit 096b080

Please sign in to comment.