mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 10:24:02 +00:00
fix(miniapp): react to initial dashboard load
This commit is contained in:
@@ -1923,7 +1923,7 @@ function App() {
|
||||
}))
|
||||
}
|
||||
|
||||
const renderPanel = () => {
|
||||
const panel = createMemo(() => {
|
||||
switch (activeNav()) {
|
||||
case 'balances':
|
||||
return (
|
||||
@@ -2342,7 +2342,7 @@ function App() {
|
||||
/>
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
return (
|
||||
<main class="shell">
|
||||
@@ -2459,7 +2459,7 @@ function App() {
|
||||
onChange={setActiveNav}
|
||||
/>
|
||||
|
||||
<section class="content-stack">{renderPanel()}</section>
|
||||
<section class="content-stack">{panel()}</section>
|
||||
<Modal
|
||||
open={profileEditorOpen()}
|
||||
title={copy().displayNameLabel}
|
||||
|
||||
Reference in New Issue
Block a user