Rework music list

This commit is contained in:
2024-01-12 18:29:09 +01:00
committed by Clément Le Bihan
parent 17f64cd849
commit 7a63a66da5
3 changed files with 91 additions and 203 deletions
-2
View File
@@ -184,8 +184,6 @@ function MusicItemComponent(props: MusicItemType) {
);
}
// Using `memo` to optimize rendering performance by memorizing the component's output.
// This ensures that the component only re-renders when its props change.
const MusicItem = memo(MusicItemComponent);
export default MusicItem;