refactor: NPED Context, sound update and start session
This commit is contained in:
@@ -7,7 +7,7 @@ type SightingFeedContextType = {
|
||||
setSelectedRef: (ref: number | null) => void;
|
||||
// effectiveSelected: SightingType | null;
|
||||
mostRecent: SightingType | null;
|
||||
side: string;
|
||||
side: string | undefined;
|
||||
selectedSighting: SightingType | null;
|
||||
setSelectedSighting: (sighting: SightingType | SightingType | null) => void;
|
||||
setSightingModalOpen: (isSightingModalOpen: boolean) => void;
|
||||
@@ -15,6 +15,9 @@ type SightingFeedContextType = {
|
||||
isError: boolean;
|
||||
isLoading: boolean;
|
||||
data: SightingType | undefined;
|
||||
sessionList: SightingType[];
|
||||
sessionStarted: boolean;
|
||||
setSessionStarted: (started: boolean) => void;
|
||||
};
|
||||
|
||||
export const SightingFeedContext = createContext<
|
||||
|
||||
Reference in New Issue
Block a user