Feat: Add profile menu
This commit is contained in:
@@ -5,7 +5,7 @@ import type { Theme } from "../../../theme/runtime";
|
||||
import { topBarActions } from "../data/shell.data";
|
||||
import { DepartmentSelector } from "../DepartmentSelector/DepartmentSelector";
|
||||
import { ThemeToggle } from "./ThemeToggle";
|
||||
import { UserNavButton } from "./UserNavButton";
|
||||
import { UserNav } from "./UserNav";
|
||||
import styles from "./TopBar.module.scss";
|
||||
|
||||
type TopBarProps = {
|
||||
@@ -37,7 +37,7 @@ export const TopBar = (props: TopBarProps): JSX.Element => {
|
||||
</div>
|
||||
|
||||
<ThemeToggle theme={props.theme} onToggle={props.onToggleTheme} />
|
||||
<UserNavButton />
|
||||
<UserNav />
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user