From f259f00b91dadf32287a27dae39b71af841edb5a Mon Sep 17 00:00:00 2001 From: Josh Ribakoff Date: Sun, 23 Aug 2020 17:11:35 -0700 Subject: [PATCH] chore: zaps dead code (#59) closes #58 --- src/index.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/index.js b/src/index.js index bea97a5..dc67e64 100644 --- a/src/index.js +++ b/src/index.js @@ -3,8 +3,6 @@ import match from 'match-sorter' import { queryCache as cache, useQueryCache } from 'react-query' import useLocalStorage from './useLocalStorage' -// - import { Panel, QueryKeys, @@ -41,19 +39,6 @@ const theme = { warning: '#ffb200', } -const getCircularReplacer = () => { - const seen = new WeakSet() - return (key, value) => { - if (typeof value === 'object' && value !== null) { - if (seen.has(value)) { - return - } - seen.add(value) - } - return value - } -} - export function ReactQueryDevtools({ initialIsOpen, panelProps = {},