Improve logic for settings button show/hide.

Fix button shown in appbar
This commit is contained in:
Timo K
2026-04-10 18:59:17 +02:00
parent c59de789e5
commit 098a8c0c41
4 changed files with 33 additions and 24 deletions

View File

@@ -88,7 +88,7 @@ export const AppBar: FC<Props> = ({ children }) => {
{title}
</Heading>
)}
<RightNav>{secondaryButton ?? "x"}</RightNav>
<RightNav>{secondaryButton}</RightNav>
</Header>
</div>
<AppBarContext value={context}>{children}</AppBarContext>