upd:realtime

Deskripsi;

- upd realtime di halaman pengumuman

No Issues
This commit is contained in:
amel
2024-10-01 17:37:57 +08:00
parent b54f813cec
commit f45233fc0f
7 changed files with 59 additions and 43 deletions

View File

@@ -20,7 +20,7 @@ export default function NotificationCustome({ onClose, title, desc, onClick }: {
useShallowEffect(() => {
const timer = setTimeout(() => {
setOpened(false)
}, 2000);
}, 3000);
return () => clearTimeout(timer);
}, []);