File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
site/src/pages/CreateWorkspacePage Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ import ReplayIcon from "@mui/icons-material/Replay";
2
2
import Button from "@mui/material/Button" ;
3
3
import FormHelperText from "@mui/material/FormHelperText" ;
4
4
import Tooltip from "@mui/material/Tooltip" ;
5
- import { makeStyles } from "@mui/styles " ;
5
+ import { type FC } from "react " ;
6
6
import { LoadingButton } from "components/LoadingButton/LoadingButton" ;
7
7
import { Stack } from "components/Stack/Stack" ;
8
- import { FC } from "react" ;
9
8
import { type ExternalAuthPollingState } from "./CreateWorkspacePage" ;
10
9
11
10
export interface ExternalAuthProps {
@@ -29,10 +28,6 @@ export const ExternalAuth: FC<ExternalAuthProps> = (props) => {
29
28
error,
30
29
} = props ;
31
30
32
- const styles = useStyles ( {
33
- error : typeof error !== "undefined" ,
34
- } ) ;
35
-
36
31
return (
37
32
< Tooltip
38
33
title = { authenticated && `${ displayName } has already been connected.` }
@@ -52,7 +47,7 @@ export const ExternalAuth: FC<ExternalAuthProps> = (props) => {
52
47
/>
53
48
}
54
49
disabled = { authenticated }
55
- className = { styles . button }
50
+ css = { { height : 52 } }
56
51
color = { error ? "error" : undefined }
57
52
fullWidth
58
53
onClick = { ( event ) => {
@@ -80,9 +75,3 @@ export const ExternalAuth: FC<ExternalAuthProps> = (props) => {
80
75
</ Tooltip >
81
76
) ;
82
77
} ;
83
-
84
- const useStyles = makeStyles ( ( ) => ( {
85
- button : {
86
- height : 52 ,
87
- } ,
88
- } ) ) ;
You can’t perform that action at this time.
0 commit comments