Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit fab091f

Browse files
committed
2 parents 7b90647 + f259f00 commit fab091f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/index.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { queryCache as cache, useQueryCache } from 'react-query'
44
import useLocalStorage from './useLocalStorage'
55
import { useSafeState } from './utils'
66

7-
//
8-
97
import {
108
Panel,
119
QueryKeys,
@@ -42,19 +40,6 @@ const theme = {
4240
warning: '#ffb200',
4341
}
4442

45-
const getCircularReplacer = () => {
46-
const seen = new WeakSet()
47-
return (key, value) => {
48-
if (typeof value === 'object' && value !== null) {
49-
if (seen.has(value)) {
50-
return
51-
}
52-
seen.add(value)
53-
}
54-
return value
55-
}
56-
}
57-
5843
export function ReactQueryDevtools({
5944
initialIsOpen,
6045
panelProps = {},

0 commit comments

Comments
 (0)