mirror of https://github.com/portainer/portainer
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
|
import { ReactQueryDevtools } from 'react-query/devtools';
|
||
|
|
||
|
export function ReactQueryDevtoolsWrapper() {
|
||
|
const showReactQueryDevtools =
|
||
|
process.env.SHOW_REACT_QUERY_DEV_TOOLS === 'true';
|
||
|
|
||
|
return <>{showReactQueryDevtools && <ReactQueryDevtools />}</>;
|
||
|
}
|