update react

This commit is contained in:
Paul Chavard 2021-02-16 13:17:36 +01:00
parent df80f5681d
commit 3dae5b5c04
5 changed files with 330 additions and 248 deletions

View file

@ -1,6 +1,6 @@
import React, { useCallback } from 'react';
import { ReactQueryCacheProvider } from 'react-query';
import matchSorter from 'match-sorter';
import { matchSorter } from 'match-sorter';
import ComboSearch from './ComboSearch';
import { queryCache } from './shared/queryCache';

View file

@ -16,7 +16,7 @@ import {
ComboboxPopover
} from '@reach/combobox';
import '@reach/combobox/styles.css';
import matchSorter from 'match-sorter';
import { matchSorter } from 'match-sorter';
import { fire } from '@utils';
const Context = createContext();

View file

@ -1,6 +1,6 @@
import { QueryCache } from 'react-query';
import { isNumeric } from '@utils';
import matchSorter from 'match-sorter';
import { matchSorter } from 'match-sorter';
const { api_geo_url, api_adresse_url, api_education_url } =
gon.autocomplete || {};