Skip to content

Commit 86365f2

Browse files
refactor: remove unused sidenav code from main application
- Eliminated the unused sidenav code related to the search bar to enhance code clarity and maintainability. - This change contributes to a cleaner rendering process in the main application.
1 parent 6a880d9 commit 86365f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

custom-implementation/src/main.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ const render = async () => {
2424

2525
const data = await getPageData()
2626

27-
const sidenav = document.querySelector('button.fern-search-bar')
28-
?.parentElement as HTMLElement
29-
3027
const searchButton = document.querySelector('button.fern-search-button')
3128
const theme = document.getElementsByTagName('html')[0].getAttribute('class')
3229

0 commit comments

Comments
 (0)