Skip to content

Commit 7f76867

Browse files
authored
fix(devtools): devtools available only in development mode
* Bump react-query to 3.17.1 * display devtools only in production
1 parent 6b6e2eb commit 7f76867

File tree

3 files changed

+13480
-9
lines changed

3 files changed

+13480
-9
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
VueQueryDevTools: function () {
44
return null;

0 commit comments

Comments
 (0)