From 1c37feb10123ce9f35546c4734e9201a3878019a Mon Sep 17 00:00:00 2001
From: Eric Rosenbaum <eric.rosenbaum@gmail.com>
Date: Fri, 14 Feb 2020 11:37:10 -0500
Subject: [PATCH] Display sprite lib icons without using type property

---
 src/components/library/library.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/library/library.jsx b/src/components/library/library.jsx
index 3cbc9805d..48a1de554 100644
--- a/src/components/library/library.jsx
+++ b/src/components/library/library.jsx
@@ -217,7 +217,7 @@ class LibraryComponent extends React.Component {
                             extensionId={dataItem.extensionId}
                             featured={dataItem.featured}
                             hidden={dataItem.hidden}
-                            iconMd5={dataItem.type === 'sprite' ? dataItem.costumes[0].md5ext : dataItem.md5ext}
+                            iconMd5={dataItem.costumes ? dataItem.costumes[0].md5ext : dataItem.md5ext}
                             iconRawURL={dataItem.rawURL}
                             icons={dataItem.costumes}
                             id={index}
-- 
GitLab