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
@@ -18,7 +18,7 @@ import React, { useState } from 'react';
|
||||
|
||||
import ClusterTable from '../ClusterTable/ClusterTable';
|
||||
import { Button } from '@material-ui/core';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import useAsync from 'react-use/esm/useAsync';
|
||||
import { gitOpsApiRef } from '../../api';
|
||||
import { Alert } from '@material-ui/lab';
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import { TextField, List, ListItem } from '@material-ui/core';
|
||||
|
||||
import ClusterTemplateCardList from '../ClusterTemplateCardList';
|
||||
import ProfileCardList from '../ProfileCardList';
|
||||
import useLocalStorage from 'react-use/lib/useLocalStorage';
|
||||
import useLocalStorage from 'react-use/esm/useLocalStorage';
|
||||
import { gitOpsApiRef, Status } from '../../api';
|
||||
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user