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 feb8b3f commit 2a924f5Copy full SHA for 2a924f5
1 file changed
packages/angular-query-experimental/src/devtools/with-devtools.ts
@@ -143,7 +143,7 @@ export const withDevtools: WithDevtools = (
143
buttonPosition && devtools.setButtonPosition(buttonPosition)
144
typeof initialIsOpen === 'boolean' &&
145
devtools.setInitialIsOpen(initialIsOpen)
146
- if (theme) devtools.setTheme(theme)
+ theme && devtools.setTheme(theme)
147
return
148
}
149
0 commit comments