diff --git a/src/renderer/components/+catalog/catalog.tsx b/src/renderer/components/+catalog/catalog.tsx index 9e5e536b9d..f78d9fa08c 100644 --- a/src/renderer/components/+catalog/catalog.tsx +++ b/src/renderer/components/+catalog/catalog.tsx @@ -66,16 +66,6 @@ export class Catalog extends React.Component { hotbar.items.push({ entity: { uid: item.id }}); } - removeFromHotbar(item: CatalogEntityItem) { - const hotbar = hotbarStore.getActive(); - - if (!hotbar) { - return; - } - - hotbar.items = hotbar.items.filter((i) => i.entity.uid !== item.id); - } - onDetails(item: CatalogEntityItem) { item.onRun(catalogEntityRunContext); } @@ -137,9 +127,6 @@ export class Catalog extends React.Component { this.addToHotbar(item) }> Add to Hotbar - this.removeFromHotbar(item) }> - Remove from Hotbar - { menuItems.map((menuItem, index) => { return ( this.onMenuItemClick(menuItem)}>