Auto show current time indicator
This commit is contained in:
@@ -292,7 +292,7 @@ export function BookingProvider({ children, complex }: BookingProviderProps) {
|
||||
useEffect(() => {
|
||||
const interval = setInterval(() => {
|
||||
setNow(getNowTime());
|
||||
}, 10 * 1000);
|
||||
}, 60 * 1000);
|
||||
|
||||
return () => clearInterval(interval);
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user