Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Fix dragging component from panel
Browse files Browse the repository at this point in the history
  • Loading branch information
CITIZENDOT committed Oct 24, 2023
1 parent cdfd18e commit a2beca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/element/ElementList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function ElementList() {
<SceneElementListItem
key={item.jsonID}
item={{
componentJsonID: item.name!,
componentJsonID: item.jsonID!,
label: startCase((item.jsonID || item.name).replace('-', ' ').toLowerCase()),
Icon: EntityNodeEditor.get(item)?.iconComponent || PlaceHolderIcon,
type: ItemTypes.Component
Expand Down

0 comments on commit a2beca1

Please sign in to comment.