import { Button } from "@mui/material";
import { Link } from "react-router";

export function AuthSingleMessage(p: { message: string }): React.ReactElement {
  return (
    <>
      <p style={{ textAlign: "center" }}>{p.message}</p>
      <Link to={"/"}>
        <Button>Go back home</Button>
      </Link>
    </>
  );
}
