Skip to content
Source
Sign inSign up
TanStack/query

fix(react-query-devtools): add 'use client' directive to disable SSR #5041

Mergedyousoumar(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/5041/headmerged by TkDodo View on GitHub

Showing 1 changed file with 2 additions and 0 deletions.

x
0 of 1 viewed, 1 left
2 additions and 0 deletionspackages/react-query-devtools/src/index.tsModified
View file
@@ -1,3 +1,5 @@
+'use client'
+​
import * as devtools from './devtools'
​
export const ReactQueryDevtools: typeof devtools['ReactQueryDevtools'] =