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 {
|
export function NotLinkedAccountMessage(): React.ReactElement {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
@@ -6,9 +10,17 @@ export function NotLinkedAccountMessage(): React.ReactElement {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
|
flexDirection: "column",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<div style={{ marginBottom: "50px" }}>
|
||||||
Your Matrix account is not linked yet!
|
Your Matrix account is not linked yet!
|
||||||
</div>
|
</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