Skip to content

Commit c8960e1

Browse files
fix: navigation on mobile v6
1 parent 8cc49aa commit c8960e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-implementation/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const render = async () => {
2020
const theme = document.getElementsByTagName('html')[0].getAttribute('class')
2121

2222
if (!document.getElementById('theme-switch')) {
23-
if (document.querySelector('button.fern-search-bar') !== null) {
23+
if (document.querySelector('button.fern-search-bar')) {
2424
const sidenav = document.querySelector('button.fern-search-bar')
2525
?.parentElement as HTMLElement
2626
const wrapper = document.createElement('div')

0 commit comments

Comments
 (0)