File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ export const EditOAuth2AppPageView: FC<EditOAuth2AppProps> = ({
87
87
< ConfirmDialog
88
88
hideCancel
89
89
open = { Boolean ( newAppSecret ) }
90
- onConfirm = { ( ) => dismissNewSecret ( ) }
91
- onClose = { ( ) => dismissNewSecret ( ) }
90
+ onConfirm = { dismissNewSecret }
91
+ onClose = { dismissNewSecret }
92
92
title = "OAuth2 client secret"
93
93
confirmText = "OK"
94
94
description = {
@@ -130,7 +130,7 @@ export const EditOAuth2AppPageView: FC<EditOAuth2AppProps> = ({
130
130
confirmLoading = { isUpdating === "delete-app" }
131
131
name = { app . name }
132
132
entity = "OAuth2 application"
133
- onConfirm = { ( ) => deleteApp ( ) }
133
+ onConfirm = { deleteApp }
134
134
onCancel = { ( ) => setShowDelete ( false ) }
135
135
/>
136
136
@@ -208,7 +208,7 @@ const OAuth2AppSecretsTable: FC<OAuth2AppSecretsTableProps> = ({
208
208
loading = { isUpdating === "create-secret" }
209
209
type = "submit"
210
210
variant = "contained"
211
- onClick = { ( ) => generateAppSecret ( ) }
211
+ onClick = { generateAppSecret }
212
212
>
213
213
Generate secret
214
214
</ LoadingButton >
You can’t perform that action at this time.
0 commit comments