logging correction rc

This commit is contained in:
alma 2026-01-09 10:25:21 +01:00
parent 967e2410a6
commit 4e0a5b146c

View File

@ -80,8 +80,8 @@ export function Parole() {
useEffect(() => { useEffect(() => {
if (status === 'authenticated') { if (status === 'authenticated') {
fetchMessages(); fetchMessages();
// Set up polling every 30 seconds // Set up polling every 30 seconds with force refresh to bypass cache
const interval = setInterval(() => fetchMessages(), 30000); const interval = setInterval(() => fetchMessages(true), 30000);
return () => clearInterval(interval); return () => clearInterval(interval);
} }
}, [status]); }, [status]);