fix useEffect dependency array in CompliancePanel

This commit is contained in:
Ishaan Jaffer 2026-02-17 16:36:47 -08:00
parent 8c02138201
commit 7b43a42a75

View file

@ -167,7 +167,7 @@ const CompliancePanel: React.FC<CompliancePanelProps> = ({ accessToken, logEntry
.then(setGdprData)
.catch((err) => setGdprError(err.message || "Failed to check GDPR compliance"))
.finally(() => setGdprLoading(false));
}, [accessToken, logEntry.request_id]);
}, [accessToken, logEntry]);
return (
<div>