1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-04-23 16:05:35 +03:00
parent e6310cb4a4
commit e06a653e1f

View File

@ -44,8 +44,9 @@ export class HotbarMenu extends React.Component<Props> {
render() { render() {
const { className } = this.props; const { className } = this.props;
const hotbar = HotbarStore.getInstance(); const hotbarStore = HotbarStore.getInstance();
const hotbarIndex = HotbarStore.getInstance().activeHotbarIndex + 1; const hotbar = hotbarStore.getActive();
const hotbarIndex = hotbarStore.activeHotbarIndex + 1;
return ( return (
<div className={cssNames("HotbarMenu flex column", className)}> <div className={cssNames("HotbarMenu flex column", className)}>