Remove hotbar name

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-10-19 08:44:42 -04:00
1 parent 0b7b90da93
commit ec6dff205e
1 file changed
+2 -2
+2 -2
View File
@@ -211,8 +211,8 @@ export class Sidebar extends React.Component<Props> {
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);