Skip to content

Commit

Permalink
fix: hide audio element
Browse files Browse the repository at this point in the history
  • Loading branch information
Molaryy committed Dec 17, 2023
1 parent 3afe89a commit 58e18c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Form/TimerFormHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ const TimerFormHandler = () => {
{startPauseSound ? (
<>
<BreakTime />
<audio controls src={pauseSound} autoPlay />
<audio controls src={pauseSound} autoPlay hidden={true} />
</>
) : startWorkSound[0] && startWorkSound[1] ? (
<audio controls src={workSound} autoPlay />
<audio controls src={workSound} autoPlay hidden={true} />
) : (
<></>
)}
Expand Down

0 comments on commit 58e18c2

Please sign in to comment.