Skip to content

Commit

Permalink
force devtools to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Mar 27, 2020
1 parent 402a638 commit 2b5860b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dev-tools/dev-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import React from 'react'
import ReactDOM from 'react-dom'
import './dev-tools.css'
import * as reactQuery from 'react-query'
import {ReactQueryDevtoolsPanel} from 'react-query-devtools'
// pulling the development thing directly because I'm not worried about
// bundle size since this won't be loaded in prod unless the query string/localStorage key is set
import {ReactQueryDevtoolsPanel} from 'react-query-devtools/dist/react-query-devtools.development'

function install() {
// add some things to window to make it easier to debug
Expand Down

0 comments on commit 2b5860b

Please sign in to comment.