We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd9a1f commit 5f6b89eCopy full SHA for 5f6b89e
src/components/library/library.jsx
@@ -39,7 +39,7 @@ const getAssetTypeForFileExtension = function (fileExtension) {
39
sensitivity: 'accent',
40
usage: 'search'
41
};
42
- for (const assetTypeId of Object.keys(storage.AssetType)) {
+ for (const assetTypeId in storage.AssetType) {
43
const assetType = storage.AssetType[assetTypeId];
44
if (fileExtension.localeCompare(assetType.runtimeFormat, compareOptions) === 0) {
45
return assetType;
0 commit comments