Skip to content

how to remove this button? #3773

Answered by vinclou
shivam-devs asked this question in Q&A
Discussion options

You must be logged in to vote

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 tool

Example

					options={{
						reactQuery: {
							clientConfig: {
								defaultOptions: {
									queries: {
										staleTime: Timer.TwoMinutes
									}
								}
							},
							devtoolConfig: {
								initialIsOpen: true,
								position: 'bottom-right'
							}
						},
						syncWithLocation: true,
						warnWhenUnsavedChanges: false,
					}}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by omeraplak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants