diff --git a/reports/src/capability/useReport.tsx b/reports/src/capability/useReport.tsx index fe11af8..acce9cb 100644 --- a/reports/src/capability/useReport.tsx +++ b/reports/src/capability/useReport.tsx @@ -28,6 +28,7 @@ export const useReport = ({ useEffect(() => { const fetchReport = async () => { + if (_report) return; setLoading(true); try { const res = await fetch(reportUrl);