We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0634e9 commit 20917e6Copy full SHA for 20917e6
custom-implementation/src/main.tsx
@@ -17,9 +17,9 @@ const render = async () => {
17
*/
18
19
const data = await getPageData()
20
- const theme = document.getElementsByTagName('html')[0].getAttribute('class')
21
const sidenav = document.querySelector('button.fern-search-bar')
22
?.parentElement as HTMLElement
+ const theme = document.getElementsByTagName('html')[0].getAttribute('class')
23
24
if (!document.getElementById('theme-switch')) {
25
const wrapper = document.createElement('div')
0 commit comments