Skip to content

🎥 Make videos programmatically with React

chore: rename comp_h to asset item height

Mohit Yadavadc82b5cdf55
diff --git a/packages/cli/src/editor/components/AssetSelectorItem.tsx b/packages/cli/src/editor/components/AssetSelectorItem.tsx
index f660930666..92032bc140 100644
--- a/packages/cli/src/editor/components/AssetSelectorItem.tsx
+++ b/packages/cli/src/editor/components/AssetSelectorItem.tsx
@@ -10,7 +10,7 @@ import {InlineAction} from './InlineAction';
import {openInFileExplorer} from './RenderQueue/actions';
import {sendErrorNotification} from './Notifications/NotificationCenter';
-const COMPOSITION_ITEM_HEIGHT = 32;
+const ASSET_ITEM_HEIGHT = 32;
const itemStyle: React.CSSProperties = {
paddingRight: 10,
@@ -27,7 +27,7 @@ const itemStyle: React.CSSProperties = {
width: '100%',
textAlign: 'left',
backgroundColor: BACKGROUND,
- height: COMPOSITION_ITEM_HEIGHT,
+ height: ASSET_ITEM_HEIGHT,
};
const labelStyle: React.CSSProperties = {