Can start Matrix authentication from UI
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
import { useUserInfo } from "../widgets/dashboard/BaseAuthenticatedPage";
|
||||
import { NotLinkedAccountMessage } from "../widgets/NotLinkedAccountMessage";
|
||||
|
||||
export function HomeRoute(): React.ReactElement {
|
||||
const user = useUserInfo();
|
||||
|
||||
if (!user.info.matrix_user_id) return <NotLinkedAccountMessage />;
|
||||
|
||||
return <p>Todo home route</p>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user