Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

stub.ts

7 lines247 Bytes

1import { noop } from '@tanstack/query-core'
2import type { InjectDevtoolsPanel } from './types'
3​
4// Stub which replaces `injectDevtoolsPanel` in production builds
5export const injectDevtoolsPanel: InjectDevtoolsPanel = () => ({
6 destroy: noop,
7})