From d08787a6bafded1ea95c9f30e4a23882c458add4 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Fri, 31 Jan 2025 21:19:55 +0100 Subject: [PATCH] refactor: allow presets for op and cuesheet --- apps/client/src/AppRouter.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/client/src/AppRouter.tsx b/apps/client/src/AppRouter.tsx index 6aab1924a..3d31e6324 100644 --- a/apps/client/src/AppRouter.tsx +++ b/apps/client/src/AppRouter.tsx @@ -44,6 +44,8 @@ const SPublic = withPreset(withData(Public)); const SLowerThird = withPreset(withData(Lower)); const SStudio = withPreset(withData(StudioClock)); const STimeline = withPreset(withData(Timeline)); +const PCuesheet = withPreset(Cuesheet); +const POperator = withPreset(Operator); const EditorFeatureWrapper = React.lazy(() => import('./features/EditorFeatureWrapper')); const RundownPanel = React.lazy(() => import('./features/rundown/RundownExport')); @@ -155,8 +157,8 @@ export default function AppRouter() { {/*/!* Protected Routes *!/*/} } /> - } /> - } /> + } /> + } /> {/*/!* Protected Routes - Elements *!/*/}