Updated loading states and error states accross app
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import FrontCameraOverviewCard from "../components/FrontCameraOverview/FrontCameraOverviewCard";
|
||||
import SightingHistoryWidget from "../components/SightingsWidget/SightingWidget";
|
||||
import { SightingFeedProvider } from "../context/providers/SightingFeedProvider";
|
||||
import { CAM_BASE } from "../utils/config";
|
||||
import { CAM_BASE, OUTSIDE_CAM_BASE } from "../utils/config";
|
||||
|
||||
const Dashboard = () => {
|
||||
const mode = import.meta.env.MODE;
|
||||
const base_url = `${CAM_BASE}/SightingList/sightingSummary?mostRecentRef=`;
|
||||
// const outside_url = `http://100.82.205.44/mergedHistory/sightingSummary?mostRecentRef=`;
|
||||
console.log(mode);
|
||||
console.log(OUTSIDE_CAM_BASE);
|
||||
return (
|
||||
<SightingFeedProvider url={base_url}>
|
||||
<div className="mx-auto flex flex-col lg:flex-row gap-2 px-1 sm:px-2 lg:px-0 w-full min-h-screen">
|
||||
|
||||
Reference in New Issue
Block a user