refactor: update timers (#729)

* refactor: remove duplication

* refactor: previous times

* refactor: event patching
This commit is contained in:
Carlos Valente
2024-01-25 13:36:45 +01:00
committed by GitHub
parent e748bff0dd
commit 74e1ae609c
32 changed files with 448 additions and 555 deletions
@@ -24,7 +24,7 @@ export default function CountdownSelect(props: CountdownSelectProps) {
) as OntimeEvent[];
return (
<div className='event-select' data-testid='countdown-select'>
<div className='event-select' data-testid='countdown__select'>
<span className='event-select__title'>{getLocalizedString('countdown.select_event')}</span>
<ul className='event-select__events'>
{!events.length ? (