From 0c8b2d4ccab428775e0c5a952682d9bcb1f36f45 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Fri, 23 Apr 2021 16:14:43 +0300 Subject: [PATCH] cleanup Signed-off-by: Jari Kolehmainen --- src/renderer/components/hotbar/hotbar-menu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/hotbar/hotbar-menu.tsx b/src/renderer/components/hotbar/hotbar-menu.tsx index 0abc406d06..ac99a45226 100644 --- a/src/renderer/components/hotbar/hotbar-menu.tsx +++ b/src/renderer/components/hotbar/hotbar-menu.tsx @@ -46,7 +46,7 @@ export class HotbarMenu extends React.Component { const { className } = this.props; const hotbarStore = HotbarStore.getInstance(); const hotbar = hotbarStore.getActive(); - const hotbarIndex = hotbarStore.activeHotbarIndex + 1; + const activeIndexDisplay = hotbarStore.activeHotbarIndex + 1; return (
@@ -66,7 +66,7 @@ export class HotbarMenu extends React.Component {
this.previous()} />
- this.openSelector()} /> + this.openSelector()} />