-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Shift the audio playing logic for the Effects to the useAudioPlayer custom hook #15
Comments
Do you mean |
Yes, precisely. However, the |
@ArvindParekh , |
Hey @sahild91, yes the issue's still open, feel free to work on it if you'd like. We already have a custom hook in place, we'd just like to incorporate the logic of Effects into it. |
/assign |
Hey @sahild91, just wondering how far you got on this issue, I was thinking of taking a peak at it see what I can do. |
/assign |
Currently, the audio-playing logic for the Tracks is consolidated within the useAudioPlayer custom hook. However, the same logic for Effects is not centralized and is present individually within the
Effect.jsx
file. To maintain a consistent and centralized source of truth, it's advisable to include the audio playing logic for Effects within the useAudioPlayer custom hook.The task involves:
Effects.jsx
andEffectCard.jsx
components to accommodate this change, ensuring there's no loss of functionality.The text was updated successfully, but these errors were encountered: