more enhancements to loading and error feedback

This commit is contained in:
2025-10-06 15:18:58 +01:00
parent f275f50383
commit a95c9077c4
10 changed files with 127 additions and 167 deletions

View File

@@ -4,8 +4,6 @@ import { CAM_BASE } from "../utils/config";
const base_url = `${CAM_BASE}/api`;
const fetch_url = `http://100.82.205.44/api/fetch-config?id=Colour`;
console.log(fetch_url);
const fetchCameraSideConfig = async ({ queryKey }: { queryKey: string[] }) => {
const [, cameraSide] = queryKey;
const fetchUrl = `${base_url}/fetch-config?id=${cameraSide}`;