From ddfea55eef27c675e901d1fa038339e7ae884ce5 Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 9 Oct 2024 16:32:59 +0200 Subject: [PATCH] removed lastEpgl state --- src/models/global.model.ts | 1 - src/store/global/global.slice.ts | 1 - tests/__mocks__/store/global.state.mock.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/src/models/global.model.ts b/src/models/global.model.ts index d05429521..d7ebab168 100644 --- a/src/models/global.model.ts +++ b/src/models/global.model.ts @@ -19,6 +19,5 @@ export interface GlobalState { sgeConnect: SgeStore partnersInfo: PartnersInfo ecogestureFilter: Usage - lastEpglLogin: string headerHeight: number } diff --git a/src/store/global/global.slice.ts b/src/store/global/global.slice.ts index 0eece189a..95f659b33 100644 --- a/src/store/global/global.slice.ts +++ b/src/store/global/global.slice.ts @@ -120,7 +120,6 @@ const initialState: GlobalState = { shouldLaunchAccount: false, }, ecogestureFilter: Usage.ALL, - lastEpglLogin: '', } type UpdatedFluidConnection = PayloadAction<{ diff --git a/tests/__mocks__/store/global.state.mock.ts b/tests/__mocks__/store/global.state.mock.ts index 3c19efac3..ab9dda82c 100644 --- a/tests/__mocks__/store/global.state.mock.ts +++ b/tests/__mocks__/store/global.state.mock.ts @@ -9,7 +9,6 @@ export const mockGlobalState: GlobalState = { challengeActionNotification: false, challengeDuelNotification: false, analysisNotification: false, - lastEpglLogin: '', termsStatus: { accepted: true, versionType: 'init', -- GitLab