Merge pull request #8694 from backstage/rugvip/use
use precise imports of react-use hooks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user