Skip to content

Commit 9a44c5e

Browse files
Merge pull request #759 from OpenZeppelin/missing-gamedata-on-level-load
Missing gamedata
2 parents 54ebfd1 + 8d482ac commit 9a44c5e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

client/src/containers/Level.js

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ class Level extends React.Component {
107107
render() {
108108
const { level, levelCompleted } = this.props;
109109
const { submittedIntance } = this.state;
110-
111110
var [levelData, selectedLevel] = getlevelsdata(this.props, "levelPage");
112111

113112
if (!level) return null;

client/src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ if (!window.ethereum) {
5353
} else {
5454
const accountConnectionWindow = document.querySelectorAll('.account-connection-window-bg');
5555
if (accountConnectionWindow[0]) accountConnectionWindow[0].style.display = 'block';
56+
store.dispatch(actions.loadGamedata());
5657
}
5758
});
5859
}

0 commit comments

Comments
 (0)