Skip to content

Commit 772c6c4

Browse files
authored
fix: display devtools only in production (TanStack#2382)
1 parent be6bfbb commit 772c6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (process.env.NODE_ENV === 'production') {
1+
if (process.env.NODE_ENV !== 'development') {
22
module.exports = {
33
ReactQueryDevtools: function () {
44
return null

0 commit comments

Comments
 (0)