Skip to content

Commit

Permalink
Merge pull request #451 from shahdivyank/sean/audiofix
Browse files Browse the repository at this point in the history
fixed beat function
  • Loading branch information
shahdivyank authored Sep 7, 2024
2 parents 1bf685a + 80cd4ba commit 9384f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/global/beat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Drop = ({ image, artist, song, location, length, onAdd }: beat) => {
)}
<Pressable
className="bg-beatdrop-primary rounded-full p-2"
onPress={() => (playing ? pause : play)}
onPress={() => (playing ? pause() : play())}
>
{playing ? (
<Icon name="Pause" size={24} color="white" />
Expand Down

0 comments on commit 9384f97

Please sign in to comment.