From 55eb668102e8538b01f6a15ca05fb5f988178d0e Mon Sep 17 00:00:00 2001 From: Ricardo van der Heijden <20791917+ricardovdheijden@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:18:04 +0100 Subject: [PATCH] Updates to latest version of boilerplate code (#2) --- pages/_app.tsx | 127 ++++++++++++++++++++++++++----------------------- 1 file changed, 67 insertions(+), 60 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index ab8a079..46fb506 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -17,10 +17,11 @@ import { ConfirmationDialogContextWrapper, OrchestratorConfig, OrchestratorConfigProvider, - ToastsContextProvider, - ToastsList, + StoreProvider, WfoAuth, + WfoErrorBoundary, WfoPageTemplate, + WfoToastsList, defaultOrchestratorTheme, } from '@orchestrator-ui/orchestrator-ui-components'; @@ -37,7 +38,6 @@ const queryClientConfig: QueryClientConfig = { queries: { cacheTime: 5 * 1000, refetchOnWindowFocus: true, - keepPreviousData: true, }, }, }; @@ -50,66 +50,73 @@ function CustomApp({ const [queryClient] = useState(() => new QueryClient(queryClientConfig)); return ( - - - - - - - + + + + + + - - - - Workflow Orchestrator - -
- - - - + + + + + + Welcome to + example-orchestrator-ui! + + +
+ + - - - - - - - -
-
-
- - - - - - + + + +
+ +
+ +
+
+
+
+
+
+ +
+ +
+ ); }