Skip to content

Commit

Permalink
remove dojo update (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericdelab authored Aug 13, 2024
1 parent 57244b6 commit 795b8e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ async function init() {
graphic.initStats();

// reinit scene game renderer when address changes
const accountChange = () => {
graphic.renderModels();
};
window.addEventListener(ACCOUNT_CHANGE_EVENT, accountChange);
// const accountChange = () => {
// graphic.renderModels();
// };
// window.addEventListener(ACCOUNT_CHANGE_EVENT, accountChange);

inject();
root.render(
Expand Down

0 comments on commit 795b8e6

Please sign in to comment.