Use esm exports from react-use library
Signed-off-by: Tomasz Szuba <tszuba@box.com>
This commit is contained in:
committed by
Tomasz Szuba
parent
7825762f90
commit
e8f026a300
+1
-1
@@ -18,7 +18,7 @@ import { Entity } from '@backstage/catalog-model';
|
||||
import { catalogApiRef } from '@backstage/plugin-catalog-react';
|
||||
import Button from '@material-ui/core/Button';
|
||||
import React from 'react';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import useAsync from 'react-use/esm/useAsync';
|
||||
import { EntityCard } from '../EntityCard';
|
||||
import {
|
||||
Content,
|
||||
|
||||
@@ -18,7 +18,7 @@ import { DomainEntity } from '@backstage/catalog-model';
|
||||
import { catalogApiRef } from '@backstage/plugin-catalog-react';
|
||||
import Button from '@material-ui/core/Button';
|
||||
import React from 'react';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import useAsync from 'react-use/esm/useAsync';
|
||||
import {
|
||||
Content,
|
||||
ContentHeader,
|
||||
|
||||
@@ -38,7 +38,7 @@ import { makeStyles, useTheme } from '@material-ui/core/styles';
|
||||
import ZoomOutMap from '@material-ui/icons/ZoomOutMap';
|
||||
import classNames from 'classnames';
|
||||
import React from 'react';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import useAsync from 'react-use/esm/useAsync';
|
||||
|
||||
const useStyles = makeStyles(
|
||||
theme => ({
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import useAsync from 'react-use/esm/useAsync';
|
||||
import { ToolCard } from '../ToolCard';
|
||||
import {
|
||||
Content,
|
||||
|
||||
Reference in New Issue
Block a user