File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
site/src/pages/ManagementSettingsPage Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
import type { Interpolation , Theme } from "@emotion/react" ;
2
- import { Button } from "components/Button/Button" ;
3
2
import TextField from "@mui/material/TextField" ;
4
3
import { isApiValidationError } from "api/errors" ;
5
4
import type {
6
5
Organization ,
7
6
UpdateOrganizationRequest ,
8
7
} from "api/typesGenerated" ;
9
8
import { ErrorAlert } from "components/Alert/ErrorAlert" ;
9
+ import { Button } from "components/Button/Button" ;
10
10
import { DeleteDialog } from "components/Dialogs/DeleteDialog/DeleteDialog" ;
11
11
import {
12
12
FormFields ,
@@ -133,10 +133,7 @@ export const OrganizationSettingsPageView: FC<
133
133
>
134
134
< div css = { styles . dangerSettings } >
135
135
< span > Deleting an organization is irreversible.</ span >
136
- < Button
137
- variant = "destructive"
138
- onClick = { ( ) => setIsDeleting ( true ) }
139
- >
136
+ < Button variant = "destructive" onClick = { ( ) => setIsDeleting ( true ) } >
140
137
Delete this organization
141
138
</ Button >
142
139
</ div >
You can’t perform that action at this time.
0 commit comments