Merge pull request #8694 from backstage/rugvip/use
use precise imports of react-use hooks
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { useAsyncRetry } from 'react-use';
|
||||
import useAsyncRetry from 'react-use/lib/useAsyncRetry';
|
||||
import { fireHydrantApiRef } from '../api';
|
||||
import { errorApiRef, useApi } from '@backstage/core-plugin-api';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { useAsyncRetry } from 'react-use';
|
||||
import useAsyncRetry from 'react-use/lib/useAsyncRetry';
|
||||
import { fireHydrantApiRef } from '../api';
|
||||
import { errorApiRef, useApi } from '@backstage/core-plugin-api';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user