@@ -62,7 +60,7 @@ function GamePanel(props) {
diff --git a/client/src/components/game.container.jsx b/client/src/components/game.container.jsx
index bed2a16f..473782f5 100644
--- a/client/src/components/game.container.jsx
+++ b/client/src/components/game.container.jsx
@@ -11,7 +11,7 @@ const addState = connect(
game,
account,
resolution,
- showAlt,
+ showLog,
activeSkill,
activeCryp,
} = state;
@@ -39,7 +39,7 @@ const addState = connect(
return {
game,
- showAlt,
+ showLog,
account,
resolution,
activeSkill,
diff --git a/client/src/components/vbox.component.jsx b/client/src/components/vbox.component.jsx
index 2ebf8209..81cecd30 100644
--- a/client/src/components/vbox.component.jsx
+++ b/client/src/components/vbox.component.jsx
@@ -60,17 +60,7 @@ function Vbox(args) {
return true;
}
- const freeHighlight = () => {
- if (!info[0] || info[0] !== 'highlight') return false;
- return vbox.bound.some(b => {
- const v = vboxInfo.vars.find(vi => vi.v === b);
- if (info[1] === 'skill') return v.skill;
- if (info[1] === 'spec') return v.spec;
- return false;
- });
- };
-
- const freeShouldHighlight = freeHighlight();
+ const freeShouldHighlight = info[0] && info[0] === 'highlight';
const freeRows = free.map((row, i) => {
const cells = row.map((c, j) => {
diff --git a/client/src/main.jsx b/client/src/main.jsx
index 45a443f0..b7e4cef9 100644
--- a/client/src/main.jsx
+++ b/client/src/main.jsx
@@ -36,6 +36,7 @@ const store = createStoreWithMiddleware(
selectedCryps: reducers.selectedCrypsReducer,
vboxInfo: reducers.vboxInfoReducer,
vboxHidden: reducers.vboxHiddenReducer,
+ showLog: reducers.showLogReducer,
ws: reducers.wsReducer,
})
);