Skip to content

Commit 698b9c2

Browse files
Update GridView.js
1 parent 0a3165c commit 698b9c2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

components/Yugioh/GridView.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,11 @@ const GridView = ( { aggregatedData, onDeleteCard, onUpdateCard, sortConfig, han
216216
getCroppedImagePath( imageId ),
217217
] );
218218
const imageSources = getUniqueStrings( [
219-
...remoteImageSources,
220219
...localImageSources,
220+
...remoteImageSources,
221+
FALLBACK_IMAGE,
221222
] );
222-
const primaryImageSrc = imageSources[ 0 ] || "";
223+
const primaryImageSrc = imageSources[ 0 ] || FALLBACK_IMAGE;
223224

224225
return {
225226
primaryImageSrc,

0 commit comments

Comments
 (0)