mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-19 04:31:35 +00:00
Not expose current notification order
This commit is contained in:
parent
88833a5a10
commit
b9bab30de3
@ -53,8 +53,6 @@ export interface UseFederationStoreType {
|
|||||||
sortedCoordinators: string[];
|
sortedCoordinators: string[];
|
||||||
focusedCoordinator: string | null;
|
focusedCoordinator: string | null;
|
||||||
setFocusedCoordinator: Dispatch<SetStateAction<string>>;
|
setFocusedCoordinator: Dispatch<SetStateAction<string>>;
|
||||||
currentOrder: Order | null;
|
|
||||||
setCurrentOrder: Dispatch<SetStateAction<Order | null>>;
|
|
||||||
setDelay: Dispatch<SetStateAction<number>>;
|
setDelay: Dispatch<SetStateAction<number>>;
|
||||||
coordinatorUpdatedAt: string;
|
coordinatorUpdatedAt: string;
|
||||||
federationUpdatedAt: string;
|
federationUpdatedAt: string;
|
||||||
@ -64,9 +62,7 @@ export const initialFederationContext: UseFederationStoreType = {
|
|||||||
federation: new Federation(),
|
federation: new Federation(),
|
||||||
sortedCoordinators: [],
|
sortedCoordinators: [],
|
||||||
focusedCoordinator: '',
|
focusedCoordinator: '',
|
||||||
currentOrder: null,
|
|
||||||
setFocusedCoordinator: () => {},
|
setFocusedCoordinator: () => {},
|
||||||
setCurrentOrder: () => {},
|
|
||||||
setDelay: () => {},
|
setDelay: () => {},
|
||||||
coordinatorUpdatedAt: '',
|
coordinatorUpdatedAt: '',
|
||||||
federationUpdatedAt: '',
|
federationUpdatedAt: '',
|
||||||
@ -161,8 +157,6 @@ export const useFederationStore = (): UseFederationStoreType => {
|
|||||||
focusedCoordinator,
|
focusedCoordinator,
|
||||||
setFocusedCoordinator,
|
setFocusedCoordinator,
|
||||||
setDelay,
|
setDelay,
|
||||||
currentOrder,
|
|
||||||
setCurrentOrder,
|
|
||||||
coordinatorUpdatedAt,
|
coordinatorUpdatedAt,
|
||||||
federationUpdatedAt,
|
federationUpdatedAt,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user