diff --git a/src/pages/theme-manager/ExpandedView.tsx b/src/pages/theme-manager/ExpandedView.tsx index c4f027c..653b9fb 100644 --- a/src/pages/theme-manager/ExpandedView.tsx +++ b/src/pages/theme-manager/ExpandedView.tsx @@ -255,7 +255,11 @@ export const ExpandedViewPage: VFC = () => { width={selectedImageWidth} height={selectedImageHeight} style={{ objectFit: "contain" }} - src={`https://api.deckthemes.com/blobs/${fullThemeData.images[focusedImage].id}`} + src={ + fullThemeData.images.length > 0 + ? `https://api.deckthemes.com/blobs/${fullThemeData.images?.[focusedImage]?.id}` + : `https://share.deckthemes.com/cssplaceholder.png` + } /> {fullThemeData.images.length > 1 && (