Add CameraSettings context and provider; integrate into AppProviders and VideoFeed
This commit is contained in:
@@ -8,11 +8,13 @@ type SightingStackProps = {
|
||||
};
|
||||
const SightingStack = ({ sightings }: SightingStackProps) => {
|
||||
return (
|
||||
<Card className="p-4 w-full h-full md:h-[65%]">
|
||||
<CardHeader title="Sightings" />
|
||||
{sightings.map((sighting) => (
|
||||
<SightingItem key={sighting.ref} sighting={sighting} />
|
||||
))}
|
||||
<Card className="p-4 w-full h-full ">
|
||||
<CardHeader title="Live Sightings" />
|
||||
<div className="md:h-[65%]">
|
||||
{sightings.map((sighting) => (
|
||||
<SightingItem key={sighting.ref} sighting={sighting} />
|
||||
))}
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user