change the import of the useFetchClient inside the useFetchRole

This commit is contained in:
Simone Taeggi 2023-01-18 11:03:02 +01:00
parent df2549af48
commit 5c80a0bf87

View File

@ -1,6 +1,5 @@
import { useCallback, useReducer, useEffect, useRef } from 'react';
import { useNotification } from '@strapi/helper-plugin';
import useFetchClient from '@strapi/admin/admin/src/hooks/useFetchClient';
import { useNotification, useFetchClient } from '@strapi/helper-plugin';
import reducer, { initialState } from './reducer';
import pluginId from '../../pluginId';