From b9bab30de368da07c47552b9a7be7924a4af98a7 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Wed, 15 Nov 2023 15:49:28 +0100 Subject: [PATCH] Not expose current notification order --- frontend/src/contexts/FederationContext.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/src/contexts/FederationContext.ts b/frontend/src/contexts/FederationContext.ts index 8536bc1c..537e7e29 100644 --- a/frontend/src/contexts/FederationContext.ts +++ b/frontend/src/contexts/FederationContext.ts @@ -53,8 +53,6 @@ export interface UseFederationStoreType { sortedCoordinators: string[]; focusedCoordinator: string | null; setFocusedCoordinator: Dispatch>; - currentOrder: Order | null; - setCurrentOrder: Dispatch>; setDelay: Dispatch>; coordinatorUpdatedAt: string; federationUpdatedAt: string; @@ -64,9 +62,7 @@ export const initialFederationContext: UseFederationStoreType = { federation: new Federation(), sortedCoordinators: [], focusedCoordinator: '', - currentOrder: null, setFocusedCoordinator: () => {}, - setCurrentOrder: () => {}, setDelay: () => {}, coordinatorUpdatedAt: '', federationUpdatedAt: '', @@ -161,8 +157,6 @@ export const useFederationStore = (): UseFederationStoreType => { focusedCoordinator, setFocusedCoordinator, setDelay, - currentOrder, - setCurrentOrder, coordinatorUpdatedAt, federationUpdatedAt, };