From b18dcecddba5e892dce0245cdc29a7b1df07274a Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Thu, 11 Jan 2024 09:20:28 +0000 Subject: [PATCH] Add setAcknowledgeWarning to initialAppContext --- frontend/src/contexts/AppContext.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/contexts/AppContext.ts b/frontend/src/contexts/AppContext.ts index 8ff4cf6a..0a14402a 100644 --- a/frontend/src/contexts/AppContext.ts +++ b/frontend/src/contexts/AppContext.ts @@ -140,6 +140,7 @@ export const initialAppContext: UseAppStoreType = { origin: getOrigin(), hostUrl: getHostUrl(), clientVersion: getClientVersion(), + setAcknowledgedWarning: () => {}, acknowledgedWarning: false, fav: { type: null, currency: 0, mode: 'fiat' }, setFav: () => {},