diff --git a/src/utils/Authorized.js b/src/utils/Authorized.js index 8c420cbaa1441f2fa4f52e4c97b8aa327cddce26..0fdc88e604465acf93fcf2c4879c00e97fa36411 100644 --- a/src/utils/Authorized.js +++ b/src/utils/Authorized.js @@ -1,11 +1,11 @@ -import RenderAuthorized from '@/components/Authorized'; +import RenderAuthorize from '@/components/Authorized'; import { getAuthority } from './authority'; -let Authorized = RenderAuthorized(getAuthority()); // eslint-disable-line +let Authorized = RenderAuthorize(getAuthority()); // eslint-disable-line // Reload the rights component const reloadAuthorized = () => { - Authorized = RenderAuthorized(getAuthority()); + Authorized = RenderAuthorize(getAuthority()); }; export { reloadAuthorized };