Improve logic for settings button show/hide.
Fix button shown in appbar
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user