how to remove this button? #3773
Answered
by
vinclou
shivam-devs
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
vinclou
Mar 9, 2023
Replies: 1 comment
-
This the extension to react-query, so in you App.tsx:
Example options={{
reactQuery: {
clientConfig: {
defaultOptions: {
queries: {
staleTime: Timer.TwoMinutes
}
}
},
devtoolConfig: {
initialIsOpen: true,
position: 'bottom-right'
}
},
syncWithLocation: true,
warnWhenUnsavedChanges: false,
}} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
omeraplak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This the extension to react-query, so in you App.tsx:
react-query-docs
Extend the options and hide the dev tools => but not sure why you need this hidden, this is not shipped to prod.
DEV_ONLY toolExample