diff --git a/client/src/containers/Level.js b/client/src/containers/Level.js index 9bdbca987..fee6e72c9 100644 --- a/client/src/containers/Level.js +++ b/client/src/containers/Level.js @@ -107,7 +107,6 @@ class Level extends React.Component { render() { const { level, levelCompleted } = this.props; const { submittedIntance } = this.state; - var [levelData, selectedLevel] = getlevelsdata(this.props, "levelPage"); if (!level) return null; diff --git a/client/src/index.js b/client/src/index.js index 3d15c7957..a89708870 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -53,6 +53,7 @@ if (!window.ethereum) { } else { const accountConnectionWindow = document.querySelectorAll('.account-connection-window-bg'); if (accountConnectionWindow[0]) accountConnectionWindow[0].style.display = 'block'; + store.dispatch(actions.loadGamedata()); } }); }