mirror of
https://github.com/generativefm/generative.fm.git
synced 2026-04-26 03:00:08 -04:00
Fix control logic for play button for unselected pieces when loading
This commit is contained in:
@@ -79,7 +79,7 @@ const PiecesTabComponent = ({
|
||||
>
|
||||
<div className="piece__image">
|
||||
<img src={piece.image ? piece.image : defaultImage} />
|
||||
{(!isLoading || isSelected) && (
|
||||
{(!isLoading || !isSelected) && (
|
||||
<button
|
||||
className="piece__image__button"
|
||||
onClick={handleButtonClick}
|
||||
|
||||
Reference in New Issue
Block a user