Skip to content

Commit

Permalink
fix: display devtools only in production (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorales committed Jun 16, 2021
1 parent be6bfbb commit 772c6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/index.js
@@ -1,4 +1,4 @@
if (process.env.NODE_ENV === 'production') {
if (process.env.NODE_ENV !== 'development') {
module.exports = {
ReactQueryDevtools: function () {
return null
Expand Down

1 comment on commit 772c6c4

@vercel
Copy link

@vercel vercel bot commented on 772c6c4 Jun 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.