code quality improvements and improved file error handling

This commit is contained in:
2025-09-17 11:39:26 +01:00
parent b98e3ed85d
commit 0b7ab3b0de
20 changed files with 226 additions and 144 deletions

View File

@@ -17,11 +17,14 @@ export const SightingFeedProvider = ({
sightings,
selectedRef,
setSelectedRef,
// effectiveSelected,
isLoading,
isError,
setSelectedSighting,
selectedSighting,
mostRecent,
} = useSightingFeed(url);
const [isSightingModalOpen, setSightingModalOpen] = useState(false);
return (
@@ -34,8 +37,9 @@ export const SightingFeedProvider = ({
selectedSighting,
setSightingModalOpen,
isSightingModalOpen,
// effectiveSelected,
mostRecent,
isError,
isLoading,
side,
}}
>