Merge pull request #8694 from backstage/rugvip/use

use precise imports of react-use hooks
This commit is contained in:
Patrik Oldsberg
2022-01-03 11:18:48 +01:00
committed by GitHub
165 changed files with 235 additions and 174 deletions
@@ -19,7 +19,7 @@ import { Grid, Tooltip } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import { DateTime } from 'luxon';
import React, { PropsWithChildren } from 'react';
import { useAsync } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
import { fossaApiRef } from '../../api';
import {
FOSSA_PROJECT_NAME_ANNOTATION,
@@ -31,7 +31,8 @@ import { Skeleton } from '@material-ui/lab';
import { DateTime } from 'luxon';
import * as React from 'react';
import { useMemo, useState } from 'react';
import { useAsync, useDeepCompareEffect } from 'react-use';
import useAsync from 'react-use/lib/useAsync';
import useDeepCompareEffect from 'react-use/lib/useDeepCompareEffect';
import { FindingSummary, fossaApiRef } from '../../api';
import { getProjectName } from '../getProjectName';