From 93dc9b947ffc2bcbc8053c05c31850288bf1a22c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 7 Dec 2022 11:39:57 -0300 Subject: no-fix: removing unused showPublicHistories --- packages/demobank-ui/src/context/pageState.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'packages/demobank-ui/src/context/pageState.ts') diff --git a/packages/demobank-ui/src/context/pageState.ts b/packages/demobank-ui/src/context/pageState.ts index 3d7ccd85b..4ef21b8f0 100644 --- a/packages/demobank-ui/src/context/pageState.ts +++ b/packages/demobank-ui/src/context/pageState.ts @@ -31,7 +31,6 @@ const initial: Type = { pageState: { isLoggedIn: false, isRawPayto: false, - showPublicHistories: false, withdrawalInProgress: false, }, pageStateSetter: () => { @@ -62,7 +61,6 @@ function usePageState( state: PageStateType = { isLoggedIn: false, isRawPayto: false, - showPublicHistories: false, withdrawalInProgress: false, }, ): [PageStateType, StateUpdater] { @@ -102,7 +100,6 @@ function usePageState( export interface PageStateType { isLoggedIn: boolean; isRawPayto: boolean; - showPublicHistories: boolean; withdrawalInProgress: boolean; error?: { description?: string; -- cgit v1.2.3