more enhancements to loading and error feedback
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user