File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2929 ],
3030 "no-shadow": "error",
3131 "import/no-cycle": "error",
32- "import/no-unresolved": "error",
32+ "import/no-unresolved": [ "error", { "ignore": ["react-query"] }] ,
3333 "import/no-unused-modules": ["off", { "unusedExports": true }],
3434 "no-redeclare": "off"
3535 }
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ import commonJS from 'rollup-plugin-commonjs'
77import visualizer from 'rollup-plugin-visualizer'
88import replace from '@rollup/plugin-replace'
99
10- const external = [ 'react' , 'react-dom' ]
10+ const external = [ 'react' , 'react-dom' , 'react-query' ]
1111
1212const globals = {
1313 react : 'React' ,
1414 'react-dom' : 'ReactDOM' ,
15+ 'react-query' : 'ReactQuery' ,
1516}
1617
1718const inputSrcs = [
Original file line number Diff line number Diff line change 11// @ts -nocheck
22
33import React from 'react'
4+
5+ import { useQueryClient } from 'react-query'
46import { matchSorter } from 'match-sorter'
5- import { useQueryClient } from '../react'
67import useLocalStorage from './useLocalStorage'
78import { useSafeState } from './utils'
89
You can’t perform that action at this time.
0 commit comments