Skip to content

Commit

Permalink
fix: view enums and icon ordering in top nav
Browse files Browse the repository at this point in the history
  • Loading branch information
brancoder committed Dec 18, 2024
1 parent 1fec5c7 commit 0f1ba84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ export function TopNav() {
type={network === Network.Mainnet ? BadgeType.PrimarySoft : BadgeType.Neutral}
/>
<ConnectButton size="md" />
<Button
icon={<Settings />}
type={ButtonType.Ghost}
onClick={onOpenSettingsDialogClick}
/>
<SettingsDialog
isOpen={isSettingsDialogOpen}
handleClose={onCloseSettingsDialogClick}
view={settingsDialogView}
setView={setSettingsDialogView}
/>
<ThemeSwitcher />
<Button
icon={<Settings />}
type={ButtonType.Ghost}
onClick={onOpenSettingsDialogClick}
/>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@
export enum SettingsDialogView {
SelectSetting = 'SelectSetting',
NetworkSettings = 'NetworkSettings',
AutoLockProfile = 'AutoLockProfile',
FAQ = 'FAQ',
Themes = 'Themes',
Logout = 'Logout',
}

0 comments on commit 0f1ba84

Please sign in to comment.