mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21: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[];
|
||||
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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user