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
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { useCallback, useMemo } from 'react';
|
||||
import useAsyncRetry from 'react-use/lib/useAsyncRetry';
|
||||
import useAsyncRetry from 'react-use/esm/useAsyncRetry';
|
||||
import { circleCIApiRef } from '../api';
|
||||
import { useAsyncPolling } from './useAsyncPolling';
|
||||
import { useProjectSlugFromEntity, mapVcsType } from './useBuilds';
|
||||
|
||||
@@ -18,7 +18,7 @@ import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
import { BuildSummary, GitType } from 'circleci-api';
|
||||
import { getOr } from 'lodash/fp';
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
import useAsyncRetry from 'react-use/lib/useAsyncRetry';
|
||||
import useAsyncRetry from 'react-use/esm/useAsyncRetry';
|
||||
import { circleCIApiRef } from '../api';
|
||||
import type { CITableBuildInfo } from '../components/BuildsPage/lib/CITable';
|
||||
import { CIRCLECI_ANNOTATION } from '../constants';
|
||||
|
||||
Reference in New Issue
Block a user