mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00: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)}>
|
||||
|
||||
Reference in new issue
Block a user