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(() => {
if (status === 'authenticated') {
fetchMessages();
// Set up polling every 30 seconds
const interval = setInterval(() => fetchMessages(), 30000);
// Set up polling every 30 seconds with force refresh to bypass cache
const interval = setInterval(() => fetchMessages(true), 30000);
return () => clearInterval(interval);
}
}, [status]);