diff --git a/apps/client/src/AppRouter.tsx b/apps/client/src/AppRouter.tsx index c68bc6d0e..8dbe62385 100644 --- a/apps/client/src/AppRouter.tsx +++ b/apps/client/src/AppRouter.tsx @@ -102,6 +102,7 @@ export default function AppRouter() { path='op' element={ + } @@ -213,9 +214,7 @@ function PresetView() { const Component = PresetViewMap[preset.target as OntimeViewPresettable]; return ( - {preset.target !== OntimeView.Cuesheet && ( - - )} + {Component ? : } ); diff --git a/apps/client/src/features/operator/OperatorExport.tsx b/apps/client/src/features/operator/OperatorExport.tsx index fc5bc47d9..cfd8fda88 100644 --- a/apps/client/src/features/operator/OperatorExport.tsx +++ b/apps/client/src/features/operator/OperatorExport.tsx @@ -1,13 +1,10 @@ -import ViewNavigationMenu from '../../common/components/navigation-menu/ViewNavigationMenu'; import ProtectRoute from '../../common/components/protect-route/ProtectRoute'; -import { getIsNavigationLocked } from '../../externals'; import Operator from './Operator'; export default function OperatorExport() { return ( - );