Auto show current time indicator

This commit is contained in:
Jose Selesan
2026-05-06 20:26:31 -03:00
parent be48b4b295
commit 844dac206c
2 changed files with 25 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ export function BookingProvider({ children, complex }: BookingProviderProps) {
useEffect(() => {
const interval = setInterval(() => {
setNow(getNowTime());
}, 10 * 1000);
}, 60 * 1000);
return () => clearInterval(interval);
}, []);