Skip to content

Commit 2a924f5

Browse files
committed
chore: apply review feedback
1 parent feb8b3f commit 2a924f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/angular-query-experimental/src/devtools/with-devtools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export const withDevtools: WithDevtools = (
143143
buttonPosition && devtools.setButtonPosition(buttonPosition)
144144
typeof initialIsOpen === 'boolean' &&
145145
devtools.setInitialIsOpen(initialIsOpen)
146-
if (theme) devtools.setTheme(theme)
146+
theme && devtools.setTheme(theme)
147147
return
148148
}
149149

0 commit comments

Comments
 (0)