From 4cf1f4beaea32a62f7567dab53a80853be5cb8d3 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Jun 2026 01:50:04 -0700 Subject: fix: decoded song object equality check --- src/components/Player/index.tsx | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'src/components/Player/index.tsx') diff --git a/src/components/Player/index.tsx b/src/components/Player/index.tsx index e5d2d28..fcfce72 100644 --- a/src/components/Player/index.tsx +++ b/src/components/Player/index.tsx @@ -1,6 +1,6 @@ import React from "react"; import YouTube from "react-youtube"; -import { IoPlay } from "react-icons/io5"; +import { IoPlay, IoPause } from "react-icons/io5"; import { playTimes } from "../../constants"; @@ -77,12 +77,22 @@ export function Player({ id, currentTry }: Props) { 1s 16s - + {!play && ( + + )} + {play && ( + + )} ) : (

Loading player...

-- cgit v1.2.3