diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-07 15:44:16 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-07 16:08:19 -0300 |
commit | d2554bedf3984ba4eb3a52b5649daa9c7c686c39 (patch) | |
tree | 237e020c1ef78634a5a288df4420f541bf706a1b /packages/demobank-ui/src/context/pageState.ts | |
parent | 9112655ef5b68245f934ad25d2c8b9fa19a0f7bd (diff) |
no-fix: remove 'any' and login status is taken from backend
Diffstat (limited to 'packages/demobank-ui/src/context/pageState.ts')
-rw-r--r-- | packages/demobank-ui/src/context/pageState.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/context/pageState.ts b/packages/demobank-ui/src/context/pageState.ts index 4ef21b8f0..b954ad20e 100644 --- a/packages/demobank-ui/src/context/pageState.ts +++ b/packages/demobank-ui/src/context/pageState.ts @@ -29,7 +29,6 @@ export type Type = { }; const initial: Type = { pageState: { - isLoggedIn: false, isRawPayto: false, withdrawalInProgress: false, }, @@ -59,7 +58,6 @@ export const PageStateProvider = ({ */ function usePageState( state: PageStateType = { - isLoggedIn: false, isRawPayto: false, withdrawalInProgress: false, }, @@ -98,7 +96,6 @@ function usePageState( * Track page state. */ export interface PageStateType { - isLoggedIn: boolean; isRawPayto: boolean; withdrawalInProgress: boolean; error?: { |