Skip to content

[Refactor] Shift the audio playing logic for the Effects to the useAudioPlayer custom hook #15

@ArvindParekh

Description

@ArvindParekh

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:

  • Modifying the useAudioPlayer custom hook to incorporate the audio playing logic for Effects.
  • Adjusting the Effects.jsx and EffectCard.jsx components to accommodate this change, ensuring there's no loss of functionality.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions