Skip to content

Commit

Permalink
chore_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codernesty committed Sep 20, 2024
1 parent b3020e1 commit a12b70b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions frontend/src/components/Audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,34 +113,34 @@ const AudioPlayer: React.FC<AudioPlayerProps> = ({ currentImage, index }) => {
onClick={togglePlayPause}
className="p-2 bg-blue-500 text-white rounded-full hover:bg-blue-600"
>
{isPlaying ? <FaPause /> : <FaPlay />}
</button>
{isPlaying ? <FaPause /> : <FaPlay />}
</button>

<button
onClick={stopAudio}
className="p-2 bg-red-500 text-white rounded-full hover:bg-red-600"
>
<FaStop />
</button>
</div>
</div>
<div className="flex items-center">
<label htmlFor="speed" className="mr-2">
Speed:
</label>
<select
id="speed"
value={playbackRate}
onChange={handleSpeedChange}
className="border p-1 rounded"
>
<option value="0.5">0.5x</option>
<label htmlFor="speed" className="mr-2">
Speed:
</label>
<select
id="speed"
value={playbackRate}
onChange={handleSpeedChange}
className="border p-1 rounded"
>
<option value="0.5">0.5x</option>
<option value="0.7">0.7x</option>
<option value="0.9">0.9x</option>
<option value="1">1x (Normal)</option>
<option value="1.2">1.2x</option>
</select>
<option value="1">1x (Normal)</option>
<option value="1.2">1.2x</option>
</select>
</div>

<div className="flex items-center">
<FaVolumeDown className="mr-2" />
<input
Expand Down

0 comments on commit a12b70b

Please sign in to comment.