|
1 | 1 | import Box from "@mui/material/Box";
|
2 | 2 | import Checkbox from "@mui/material/Checkbox";
|
3 |
| -import { makeStyles } from "@mui/styles"; |
4 | 3 | import TextField from "@mui/material/TextField";
|
5 | 4 | import Typography from "@mui/material/Typography";
|
6 | 5 | import { LoadingButton } from "components/LoadingButton/LoadingButton";
|
7 | 6 | import { SignInLayout } from "components/SignInLayout/SignInLayout";
|
8 | 7 | import { Stack } from "components/Stack/Stack";
|
9 | 8 | import { Welcome } from "components/Welcome/Welcome";
|
10 |
| -import { FormikContextType, useFormik } from "formik"; |
| 9 | +import { type FormikContextType, useFormik } from "formik"; |
11 | 10 | import {
|
12 | 11 | getFormHelpers,
|
13 | 12 | nameValidator,
|
14 | 13 | onChangeTrimmed,
|
15 | 14 | } from "utils/formUtils";
|
16 | 15 | import * as Yup from "yup";
|
17 |
| -import * as TypesGen from "api/typesGenerated"; |
| 16 | +import type * as TypesGen from "api/typesGenerated"; |
18 | 17 |
|
19 | 18 | export const Language = {
|
20 | 19 | emailLabel: "Email",
|
@@ -62,7 +61,6 @@ export const SetupPageView: React.FC<SetupPageViewProps> = ({
|
62 | 61 | form,
|
63 | 62 | error,
|
64 | 63 | );
|
65 |
| - const styles = useStyles(); |
66 | 64 |
|
67 | 65 | return (
|
68 | 66 | <SignInLayout>
|
@@ -91,7 +89,7 @@ export const SetupPageView: React.FC<SetupPageViewProps> = ({
|
91 | 89 | label={Language.passwordLabel}
|
92 | 90 | type="password"
|
93 | 91 | />
|
94 |
| - <div className={styles.callout}> |
| 92 | + <div css={{ borderRadius: 16 }}> |
95 | 93 | <Box display="flex">
|
96 | 94 | <div>
|
97 | 95 | <Checkbox
|
@@ -128,9 +126,3 @@ export const SetupPageView: React.FC<SetupPageViewProps> = ({
|
128 | 126 | </SignInLayout>
|
129 | 127 | );
|
130 | 128 | };
|
131 |
| - |
132 |
| -const useStyles = makeStyles(() => ({ |
133 |
| - callout: { |
134 |
| - borderRadius: 16, |
135 |
| - }, |
136 |
| -})); |
0 commit comments