diff --git a/src/renderer/components/layout/sidebar.tsx b/src/renderer/components/layout/sidebar.tsx index 6c91bf41a0..63eb053ec7 100644 --- a/src/renderer/components/layout/sidebar.tsx +++ b/src/renderer/components/layout/sidebar.tsx @@ -211,8 +211,8 @@ export class Sidebar extends React.Component { const hotbarStore = HotbarStore.getInstance(); const isAddedToActive = HotbarStore.getInstance().isAddedToActive(this.clusterEntity); const title = isAddedToActive - ? `Remove from hotbar ${hotbarStore.getActive().name}` - : `Add to hotbar ${hotbarStore.getActive().name}`; + ? "Remove from hotbar" + : "Add to hotbar"; const onClick = isAddedToActive ? () => hotbarStore.removeFromHotbar(metadata.uid) : () => hotbarStore.addToHotbar(this.clusterEntity);