refactor: extract navigation elements

This commit is contained in:
Carlos Valente
2025-06-22 11:34:00 +02:00
committed by Carlos Valente
parent 7fdda1c969
commit 269091986a
26 changed files with 421 additions and 356 deletions
@@ -12,7 +12,7 @@ const TimerControlExport = () => {
const isExtracted = window.location.pathname.includes('/timercontrol');
return (
<div className={style.playback} data-testid='panel-timer-control'>
{!isExtracted && <Corner onClick={(event) => handleLinks(event, 'timercontrol')} />}
{!isExtracted && <Corner onClick={(event) => handleLinks('timercontrol', event)} />}
<div className={style.content}>
<ErrorBoundary>
<PlaybackControl />