Skip to content

Commit

Permalink
fix(react-query-devtools): add 'use client' directive to disable SSR (#…
Browse files Browse the repository at this point in the history
…5041)

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
  • Loading branch information
yousoumar and TkDodo committed Mar 4, 2023
1 parent 6c334e8 commit c2b480a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-query-devtools/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import * as devtools from './devtools'

export const ReactQueryDevtools: typeof devtools['ReactQueryDevtools'] =
Expand Down

0 comments on commit c2b480a

Please sign in to comment.