Skip to content

Commit

Permalink
Merge pull request #759 from OpenZeppelin/missing-gamedata-on-level-load
Browse files Browse the repository at this point in the history
Missing gamedata
  • Loading branch information
GianfrancoBazzani authored Nov 15, 2024
2 parents 54ebfd1 + 8d482ac commit 9a44c5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion client/src/containers/Level.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
});
}
Expand Down

0 comments on commit 9a44c5e

Please sign in to comment.