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

Commit f259f00

Browse files
authored
chore: zaps dead code (#59)
closes #58
1 parent 721b7e6 commit f259f00

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
@@ -3,8 +3,6 @@ import match from 'match-sorter'
33
import { queryCache as cache, useQueryCache } from 'react-query'
44
import useLocalStorage from './useLocalStorage'
55

6-
//
7-
86
import {
97
Panel,
108
QueryKeys,
@@ -41,19 +39,6 @@ const theme = {
4139
warning: '#ffb200',
4240
}
4341

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

0 commit comments

Comments
 (0)