From 94d68b5c9102f4171457e8e6097607f6fe30e27e Mon Sep 17 00:00:00 2001 From: Alvalen Date: Fri, 19 Apr 2024 20:11:35 +0700 Subject: [PATCH] fix: image background conditional rendering --- app/about/(spotify)/card.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/about/(spotify)/card.jsx b/app/about/(spotify)/card.jsx index 735c674..04c654c 100644 --- a/app/about/(spotify)/card.jsx +++ b/app/about/(spotify)/card.jsx @@ -32,6 +32,7 @@ useEffect(() => { ) : (
+ {result.isPlaying && ( backgroundImage { objectFit="cover" className="z-0 opacity-20 absolute" /> + )}