Not expose current notification order

This commit is contained in:
KoalaSat 2023-11-15 15:49:28 +01:00 committed by Reckless_Satoshi
parent 88833a5a10
commit b9bab30de3

View File

@ -53,8 +53,6 @@ export interface UseFederationStoreType {
sortedCoordinators: string[];
focusedCoordinator: string | null;
setFocusedCoordinator: Dispatch<SetStateAction<string>>;
currentOrder: Order | null;
setCurrentOrder: Dispatch<SetStateAction<Order | null>>;
setDelay: Dispatch<SetStateAction<number>>;
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,
};