Skip to content

Commit efac6bf

Browse files
fix
1 parent b75b91b commit efac6bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/solid-query-devtools/src/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ export const SolidQueryDevtools: typeof SolidQueryDevtoolsComp = isDev
1010
}
1111

1212
export const SolidQueryDevtoolsPanel: typeof SolidQueryDevtoolsCompPanel =
13-
clientOnly(() => import('./devtoolsPanel'))
13+
isDev
14+
? clientOnly(() => import('./devtoolsPanel'))
15+
: function () {
16+
return null
17+
}
1418

1519
export type { DevtoolsPanelOptions } from './devtoolsPanel'

0 commit comments

Comments
 (0)