diff --git a/resources/scripts/hoc/requireServerPermission.tsx b/resources/scripts/hoc/requireServerPermission.tsx index 88ff05e20..fc3917da3 100644 --- a/resources/scripts/hoc/requireServerPermission.tsx +++ b/resources/scripts/hoc/requireServerPermission.tsx @@ -1,6 +1,5 @@ import React from 'react'; import Can from '@/components/elements/Can'; -import NotFound from '@/components/screens/NotFound'; import ScreenBlock from '@/components/screens/ScreenBlock'; const requireServerPermission = (Component: React.ComponentType, permissions: string | string[]) => { @@ -17,7 +16,7 @@ const requireServerPermission = (Component: React.ComponentType, permission /> } > - + ); }