fix incorrect imageId assignments (#1456)

This commit is contained in:
jeffvli
2025-12-30 15:18:03 -08:00
parent 6ddaf0366c
commit 4a025f82e4
13 changed files with 28 additions and 23 deletions
@@ -19,6 +19,7 @@ import { Play } from '/@/shared/types/types';
interface LibraryCommandItemProps {
disabled?: boolean;
id: string;
imageId: null | string;
imageUrl: null | string;
isHighlighted?: boolean;
itemType: LibraryItem;
@@ -30,6 +31,7 @@ interface LibraryCommandItemProps {
export const LibraryCommandItem = ({
disabled,
id,
imageId,
imageUrl,
isHighlighted,
itemType,
@@ -99,7 +101,7 @@ export const LibraryCommandItem = ({
alt="cover"
className={styles.image}
height={40}
id={id}
id={imageId}
itemType={itemType}
src={imageUrl}
width={40}