From 89b18cbcacfbb2658da1402c557ff3adc7f8c72e Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 23 Aug 2020 15:55:10 -0700 Subject: [PATCH] Fix pages not rendering --- resources/scripts/hoc/requireServerPermission.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 /> } > - + ); }