build: disable logging in react-scan by default (#3174)

This commit is contained in:
Stephen Zhou
2025-03-18 23:36:08 +08:00
committed by GitHub
parent 001f14f751
commit eb04c4b7e6
+1 -1
View File
@@ -7,5 +7,5 @@ if (import.meta.env.DEV) {
trackAllPureComponents: true,
})
const { scan } = await import("react-scan")
scan({ enabled: true, log: true, showToolbar: true })
scan({ enabled: true, log: false, showToolbar: true })
}