diff --git a/astroplant-frontend/src/scenes/SignUp.tsx b/astroplant-frontend/src/scenes/SignUp.tsx index b9a4d18..3468017 100644 --- a/astroplant-frontend/src/scenes/SignUp.tsx +++ b/astroplant-frontend/src/scenes/SignUp.tsx @@ -1,19 +1,15 @@ -import React, { useState } from "react"; +import { useState } from "react"; import { Link } from "react-router-dom"; import { useTranslation } from "react-i18next"; -import { - Container, - Segment, - Header, - Icon, - Transition, -} from "semantic-ui-react"; +import { Header, Icon, Transition } from "semantic-ui-react"; import { JSONSchema7 } from "json-schema"; import ApiForm from "~/Components/ApiForm"; import HeadTitle from "~/Components/HeadTitle"; import { api } from "~/api"; +import commonStyle from "~/Common.module.css"; + const SignUpForm = ApiForm(); export default function SignUpPage() { @@ -80,36 +76,35 @@ export default function SignUpPage() { main="Create an account" secondary="Create an account to connect to the AstroPlant world." /> - - - {done ? ( - <> -
- - - - Success! -
- -

- Your account has been created.{" "} - You can now log in. -

-
- - ) : ( - - )} -
-
+
+ {done ? ( + <> +
+ + + + Success! +
+

+ Your account has been created.{" "} + You can now log in. +

+ + ) : ( + + )} +
); }