From 4d550a78bd9f5cc9851d6671a9c0e8a6980e0981 Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Sat, 9 Dec 2023 23:21:04 +0000 Subject: [PATCH] feat: [code-1195]: add props for new hook (#894) --- web/src/AppProps.ts | 1 + web/src/bootstrap.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/AppProps.ts b/web/src/AppProps.ts index 7ebd1f71d..38c4d3d4a 100644 --- a/web/src/AppProps.ts +++ b/web/src/AppProps.ts @@ -64,6 +64,7 @@ export interface AppProps { usePermissionTranslate: Unknown useGenerateToken: Unknown useExecutionDataHook: Unknown + useLogsContentHook: Unknown }> currentUser: Required diff --git a/web/src/bootstrap.tsx b/web/src/bootstrap.tsx index b6ff2b187..6862b079f 100644 --- a/web/src/bootstrap.tsx +++ b/web/src/bootstrap.tsx @@ -34,7 +34,8 @@ ReactDOM.render( routes={routes} hooks={{ usePermissionTranslate: noop, - useExecutionDataHook: noop + useExecutionDataHook: noop, + useLogsContentHook: noop }} currentUser={defaultCurrentUser} currentUserProfileURL=""