From 19849e6088804979fe93de51ac917cd1c1a10cb3 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Tue, 24 Jun 2025 09:55:38 +0700 Subject: [PATCH] feat : fixing dashboard analityc --- components/visualization/dashboard-viz.tsx | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) 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 (