Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-04-23 16:05:35 +03:00
1 parent e6310cb4a4
commit e06a653e1f
1 file changed
+3 -2
@@ -44,8 +44,9 @@ export class HotbarMenu extends React.Component<Props> {
render() {
const { className } = this.props;
const hotbar = HotbarStore.getInstance();
const hotbarIndex = HotbarStore.getInstance().activeHotbarIndex + 1;
const hotbarStore = HotbarStore.getInstance();
const hotbar = hotbarStore.getActive();
const hotbarIndex = hotbarStore.activeHotbarIndex + 1;
return (
<div className={cssNames("HotbarMenu flex column", className)}>