From 795b8e6a243b3c1cb46f1ca0d6ad69cb542ff811 Mon Sep 17 00:00:00 2001 From: raschel <38816784+aymericdelab@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:06:23 +0200 Subject: [PATCH] remove dojo update (#1238) --- client/src/main.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/main.tsx b/client/src/main.tsx index 5b92b69a1..97d2759ab 100644 --- a/client/src/main.tsx +++ b/client/src/main.tsx @@ -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(