Merge pull request #8694 from backstage/rugvip/use

use precise imports of react-use hooks
This commit is contained in:
Patrik Oldsberg
2022-01-03 11:18:48 +01:00
committed by GitHub
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;