mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 00:44:23 +02:00
fix incorrect imageId assignments (#1456)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user