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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Aug 31, 2020
2 parents 7b90647 + f259f00 commit fab091f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { queryCache as cache, useQueryCache } from 'react-query'
import useLocalStorage from './useLocalStorage'
import { useSafeState } from './utils'

//

import {
Panel,
QueryKeys,
Expand Down Expand Up @@ -42,19 +40,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 = {},
Expand Down

0 comments on commit fab091f

Please sign in to comment.