use precise imports of react-use

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-12-30 12:00:06 +01:00
parent a7a9c4f123
commit 4ce51ab0f1
165 changed files with 235 additions and 174 deletions
@@ -35,7 +35,7 @@ import {
import Pagination from '@material-ui/lab/Pagination';
import React from 'react';
import { generatePath } from 'react-router-dom';
import { useAsync } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
import {
Avatar,
@@ -41,7 +41,7 @@ import {
import qs from 'qs';
import React from 'react';
import pluralize from 'pluralize';
import { useAsync } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
type EntityTypeProps = {
kind: string;