diff --git a/frontend/src/components/authorization/AuthorizationRouter.tsx b/frontend/src/components/authorization/AuthorizationRouter.tsx index 4d7a8b8..774d459 100644 --- a/frontend/src/components/authorization/AuthorizationRouter.tsx +++ b/frontend/src/components/authorization/AuthorizationRouter.tsx @@ -1,10 +1,10 @@ import * as React from "react" -import {useAuthorizationContext} from "../../contexts/authorization" +import {AuthorizationState, useAuthorizationContext} from "../../contexts/authorization" import {useSophonPath} from "../../hooks/useSophonPath" import {ResourceRouter, ResourceRouterProps} from "../routing/ResourceRouter" -export function AuthorizationRouter({...props}: ResourceRouterProps): JSX.Element { +export function AuthorizationRouter({...props}: ResourceRouterProps): JSX.Element { const path = useSophonPath() const authorization = useAuthorizationContext() @@ -13,7 +13,7 @@ export function AuthorizationRouter({...props}: ResourceRouterProps): JSX. return ( ) }