diff --git a/components/visualization/dashboard-viz.tsx b/components/visualization/dashboard-viz.tsx index 5b0f2397..9ddd487b 100644 --- a/components/visualization/dashboard-viz.tsx +++ b/components/visualization/dashboard-viz.tsx @@ -71,22 +71,22 @@ export default function DashboardVisualization() { setIsInternational(updatedIsInternational); }; - useEffect(() => { - async function fetchUrl() { - console.log("Fetch tableau"); - const urlView = `${url + ticket1}/${view1}${param}`; - console.log("Fetch tableau ", urlView); - const urlRender = await fetch(urlView) - .then((response) => { - console.log("Tableau res : ", response); - }) - .catch((error) => { - console.log("Tableau error: ", error); - }); - } + // useEffect(() => { + // async function fetchUrl() { + // console.log("Fetch tableau"); + // const urlView = `${url + ticket1}/${view1}${param}`; + // console.log("Fetch tableau ", urlView); + // const urlRender = await fetch(urlView) + // .then((response) => { + // console.log("Tableau res : ", response); + // }) + // .catch((error) => { + // console.log("Tableau error: ", error); + // }); + // } - fetchUrl(); - }, [ticket1]); + // fetchUrl(); + // }, [ticket1]); return (