added sounds, updated nped config and tweaks + code quality improvements
This commit is contained in:
@@ -14,6 +14,7 @@ type SightingFeedContextType = {
|
||||
isSightingModalOpen: boolean;
|
||||
isError: boolean;
|
||||
isLoading: boolean;
|
||||
data: SightingType | undefined;
|
||||
};
|
||||
|
||||
export const SightingFeedContext = createContext<
|
||||
|
||||
@@ -17,13 +17,13 @@ export const SightingFeedProvider = ({
|
||||
sightings,
|
||||
selectedRef,
|
||||
setSelectedRef,
|
||||
|
||||
data,
|
||||
isLoading,
|
||||
isError,
|
||||
setSelectedSighting,
|
||||
selectedSighting,
|
||||
mostRecent,
|
||||
} = useSightingFeed(url);
|
||||
} = useSightingFeed(url, side);
|
||||
|
||||
const [isSightingModalOpen, setSightingModalOpen] = useState(false);
|
||||
|
||||
@@ -41,6 +41,7 @@ export const SightingFeedProvider = ({
|
||||
isError,
|
||||
isLoading,
|
||||
side,
|
||||
data,
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user