File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,20 @@ class App extends React.Component {
145
145
</ bem . PageWrapper >
146
146
</ RootContextProvider >
147
147
148
- { /* React Query Devtools. Development mode only.
149
- Lower button opacity to be less distracting
150
- if it shows up in a screenshot. */ }
151
- < style > { '.tsqd-open-btn-container { opacity: 0.1 !important; };' } </ style >
152
- < ReactQueryDevtools />
148
+
149
+ { /* React Query Devtools - GUI for inspecting and modifying query status
150
+ (https://tanstack.com/query/latest/docs/framework/react/devtools)
151
+ They only show up in dev server (NODE_ENV==='development')
152
+ Additionally, we're keeping them commented out in `beta`
153
+ (https://github.com/kobotoolbox/kpi/pull/5001#discussion_r1691067344)
154
+ (1) Uncomment if you want to use these tools
155
+ (2) The <style> tag lowers the toggle button opacity
156
+ to make it less prominent in dev screenshots. */ }
157
+ { /*
158
+ <style>{'.tsqd-open-btn-container { opacity: 0.1 !important; };'}</style>
159
+ <ReactQueryDevtools />
160
+ */ }
161
+
153
162
154
163
</ QueryClientProvider >
155
164
</ DocumentTitle >
You can’t perform that action at this time.
0 commit comments