From fa80474f6e5240c4f4aa29c675068934538b6c39 Mon Sep 17 00:00:00 2001 From: whekin Date: Thu, 12 Mar 2026 00:21:47 +0400 Subject: [PATCH] fix(miniapp): react to initial dashboard load --- apps/miniapp/src/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/miniapp/src/App.tsx b/apps/miniapp/src/App.tsx index 61165a3..0ab8f23 100644 --- a/apps/miniapp/src/App.tsx +++ b/apps/miniapp/src/App.tsx @@ -1923,7 +1923,7 @@ function App() { })) } - const renderPanel = () => { + const panel = createMemo(() => { switch (activeNav()) { case 'balances': return ( @@ -2342,7 +2342,7 @@ function App() { /> ) } - } + }) return (
@@ -2459,7 +2459,7 @@ function App() { onChange={setActiveNav} /> -
{renderPanel()}
+
{panel()}