change to use supported version of useAsync

Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
This commit is contained in:
Prasetya Aria Wibawa
2022-02-18 22:05:40 +07:00
parent 21f99270bb
commit fce26e8204
2 changed files with 2 additions and 2 deletions
@@ -21,7 +21,7 @@ import {
} from '@backstage/plugin-catalog-react';
import limiterFactory from 'p-limit';
import { useApi } from '@backstage/core-plugin-api';
import { useAsync } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
import qs from 'qs';
const limiter = limiterFactory(10);
@@ -22,7 +22,7 @@ import {
isOwnerOf,
} from '@backstage/plugin-catalog-react';
import qs from 'qs';
import { useAsync } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
type EntityTypeProps = {
kind: string;