Open History to see the last commit
1import { noop } from '@tanstack/query-core'
2import type { InjectDevtoolsPanel } from './types'
3β
4/**
5 * Replaces `injectDevtoolsPanel` in production builds: returns a panel whose `destroy` does nothing.
6 * @returns A devtools panel that does nothing.
7 */
8export const injectDevtoolsPanel: InjectDevtoolsPanel = () => ({
9 destroy: noop,
10})