Open History to see the last commit
1import { noop } from '@tanstack/query-core'
2import type {
3 DevtoolsPanelOptions,
4 DevtoolsPanelRef,
5 InjectDevtoolsPanel,
6} from './types'
7β
8// Stub which replaces `injectDevtoolsPanel` in production builds
9export const injectDevtoolsPanel: InjectDevtoolsPanel = () => ({
10 destroy: noop,
11})
12β
13export type { InjectDevtoolsPanel, DevtoolsPanelOptions, DevtoolsPanelRef }