refactor: NPED Context, sound update and start session
This commit is contained in:
@@ -2,6 +2,7 @@ import FrontCameraOverviewCard from "../components/FrontCameraOverview/FrontCame
|
||||
import RearCameraOverviewCard from "../components/RearCameraOverview/RearCameraOverviewCard";
|
||||
import SightingHistoryWidget from "../components/SightingsWidget/SightingWidget";
|
||||
import { SightingFeedProvider } from "../context/providers/SightingFeedProvider";
|
||||
|
||||
import { CAM_BASE } from "../utils/config";
|
||||
|
||||
const Dashboard = () => {
|
||||
|
||||
@@ -2,18 +2,21 @@ import HistoryList from "../components/HistoryList/HistoryList.tsx";
|
||||
import HitSearchCard from "../components/SessionForm/HitSearchCard.tsx";
|
||||
import SessionCard from "../components/SessionForm/SessionCard.tsx";
|
||||
import { useAlertHitContext } from "../context/AlertHitContext.ts";
|
||||
import { SightingFeedProvider } from "../context/providers/SightingFeedProvider.tsx";
|
||||
|
||||
const Session = () => {
|
||||
useAlertHitContext();
|
||||
|
||||
return (
|
||||
<div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-1 sm:px-2 lg:px-0 w-full">
|
||||
<HitSearchCard />
|
||||
<SessionCard />
|
||||
<div className="col-span-2">
|
||||
<HistoryList />
|
||||
<SightingFeedProvider>
|
||||
<div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-1 sm:px-2 lg:px-0 w-full">
|
||||
<HitSearchCard />
|
||||
<SessionCard />
|
||||
<div className="col-span-2">
|
||||
<HistoryList />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</SightingFeedProvider>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user