diff --git a/frontend/src/components/authorization/AuthorizationAdminBox.tsx b/frontend/src/components/authorization/AuthorizationAdminBox.tsx index dc1061c..d92cb82 100644 --- a/frontend/src/components/authorization/AuthorizationAdminBox.tsx +++ b/frontend/src/components/authorization/AuthorizationAdminBox.tsx @@ -5,12 +5,7 @@ import {useAuthorizationContext} from "../../contexts/authorization" import {useInstanceContext} from "../../contexts/instance" -export interface AuthorizationAdminBoxProps { - -} - - -export function AuthorizationAdminBox({}: AuthorizationAdminBoxProps): JSX.Element { +export function AuthorizationAdminBox(): JSX.Element { const instance = useInstanceContext() const authorization = useAuthorizationContext() diff --git a/frontend/src/components/instance/InstanceDescriptionBox.tsx b/frontend/src/components/instance/InstanceDescriptionBox.tsx index e01328a..3929b95 100644 --- a/frontend/src/components/instance/InstanceDescriptionBox.tsx +++ b/frontend/src/components/instance/InstanceDescriptionBox.tsx @@ -4,12 +4,7 @@ import {useInstanceContext} from "../../contexts/instance" import {ErrorBox} from "../errors/ErrorBox" -export interface InstanceDescriptionBoxProps { - -} - - -export function InstanceDescriptionBox({}: InstanceDescriptionBoxProps): JSX.Element | null { +export function InstanceDescriptionBox(): JSX.Element | null { const instance = useInstanceContext() if(!instance) { diff --git a/frontend/src/components/routing/ResourceRouter.tsx b/frontend/src/components/routing/ResourceRouter.tsx index 295e533..03e6578 100644 --- a/frontend/src/components/routing/ResourceRouter.tsx +++ b/frontend/src/components/routing/ResourceRouter.tsx @@ -47,6 +47,6 @@ export function ResourceRouter({selection, unselectedRoute: UnselectedRout ) }, - [selection], + [selection, UnselectedRoute, SelectedRoute], ) }