From 80cd4ba5e906383654d349d97e6ea235b209157c Mon Sep 17 00:00:00 2001 From: seanquiambao Date: Sat, 7 Sep 2024 01:12:41 -0700 Subject: [PATCH] fixed beat function --- components/global/beat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/global/beat.tsx b/components/global/beat.tsx index 25a2f10..0639231 100644 --- a/components/global/beat.tsx +++ b/components/global/beat.tsx @@ -39,7 +39,7 @@ const Drop = ({ image, artist, song, location, length, onAdd }: beat) => { )} (playing ? pause : play)} + onPress={() => (playing ? pause() : play())} > {playing ? (