mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 06:04:05 +00:00
refactor: review timer styles
This commit is contained in:
committed by
Carlos Valente
parent
a69c5f354c
commit
7305edc398
@@ -38,7 +38,12 @@ export default function StudioTimers({
|
||||
const formattedSecondaryMessage = secondaryMessage || '-';
|
||||
|
||||
// gather presentation styles
|
||||
const timerColour = getTimerColour(viewSettings, time.phase === TimerPhase.Warning, time.phase === TimerPhase.Danger);
|
||||
const timerColour = getTimerColour(
|
||||
viewSettings,
|
||||
undefined,
|
||||
time.phase === TimerPhase.Warning,
|
||||
time.phase === TimerPhase.Danger,
|
||||
);
|
||||
|
||||
return (
|
||||
<div className='studio__timers'>
|
||||
|
||||
Reference in New Issue
Block a user