Add link on unlinked account message
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import ArrowForwardIcon from "@mui/icons-material/ArrowForward";
|
||||
import { Button } from "@mui/material";
|
||||
import { Link } from "react-router";
|
||||
|
||||
export function NotLinkedAccountMessage(): React.ReactElement {
|
||||
return (
|
||||
<div
|
||||
@@ -6,9 +10,17 @@ export function NotLinkedAccountMessage(): React.ReactElement {
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
>
|
||||
<div style={{ marginBottom: "50px" }}>
|
||||
Your Matrix account is not linked yet!
|
||||
</div>
|
||||
<Link to={"/matrix_link"}>
|
||||
<Button variant="outlined" startIcon={<ArrowForwardIcon />}>
|
||||
Go to Matrix Link settings
|
||||
</Button>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user