update camera base URL, enhance alert context, and improve history list functionality
This commit is contained in:
@@ -6,13 +6,13 @@ import { CAM_BASE } from "../utils/config";
|
||||
|
||||
const Dashboard = () => {
|
||||
const dev_REAR_URL = `${CAM_BASE}/SightingListRear/sightingSummary?mostRecentRef=`;
|
||||
// const dev_FRONT_URL = `${CAM_BASE}/SightingListFront/sightingSummary?mostRecentRef=`;
|
||||
const folkURL = import.meta.env.VITE_FOLKESTONE_URL;
|
||||
const dev_FRONT_URL = `${CAM_BASE}/SightingListFront/sightingSummary?mostRecentRef=`;
|
||||
|
||||
console.log(CAM_BASE);
|
||||
|
||||
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">
|
||||
<SightingFeedProvider url={folkURL} side="Front">
|
||||
<SightingFeedProvider url={dev_FRONT_URL} side="Front">
|
||||
<FrontCameraOverviewCard className="order-1" />
|
||||
<SightingHistoryWidget
|
||||
className="order-3"
|
||||
|
||||
Reference in New Issue
Block a user