Add user menu to room auth view
This commit is contained in:
parent
22f8fef87d
commit
4be14159c5
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,7 @@ import { FieldRow, InputField, ErrorMessage } from "../input/Input";
|
||||||
import { randomString } from "matrix-js-sdk/src/randomstring";
|
import { randomString } from "matrix-js-sdk/src/randomstring";
|
||||||
import { useInteractiveRegistration } from "../auth/useInteractiveRegistration";
|
import { useInteractiveRegistration } from "../auth/useInteractiveRegistration";
|
||||||
import { Form } from "../form/Form";
|
import { Form } from "../form/Form";
|
||||||
|
import { UserMenuContainer } from "../UserMenuContainer";
|
||||||
|
|
||||||
export function RoomAuthView() {
|
export function RoomAuthView() {
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
|
@ -47,7 +48,9 @@ export function RoomAuthView() {
|
||||||
<LeftNav>
|
<LeftNav>
|
||||||
<HeaderLogo />
|
<HeaderLogo />
|
||||||
</LeftNav>
|
</LeftNav>
|
||||||
<RightNav />
|
<RightNav>
|
||||||
|
<UserMenuContainer disableLogout />
|
||||||
|
</RightNav>
|
||||||
</Header>
|
</Header>
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<main className={styles.main}>
|
<main className={styles.main}>
|
||||||
|
|
Loading…
Reference in a new issue