mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
feat: keep clock ticking on server drops
This commit is contained in:
committed by
Carlos Valente
parent
9e771a2f24
commit
37dc9a620d
@@ -13,8 +13,8 @@ import {
|
||||
|
||||
import Tooltip from '../../../common/components/tooltip/Tooltip';
|
||||
import { useEntry } from '../../../common/hooks-query/useRundown';
|
||||
import { useAutoTickingClock } from '../../../common/hooks/useAutoTickingClock';
|
||||
import {
|
||||
useClock,
|
||||
useCurrentGroupId,
|
||||
useFlagTimerOverView,
|
||||
useGroupTimerOverView,
|
||||
@@ -342,7 +342,7 @@ export function OffsetOverview() {
|
||||
}
|
||||
|
||||
export function ClockOverview({ shouldFormat, className }: OverviewTimeElementsProps & { className?: string }) {
|
||||
const clock = useClock();
|
||||
const clock = useAutoTickingClock();
|
||||
const formattedClock = shouldFormat ? formatTime(clock) : millisToString(clock);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user