Skip to content

Commit

Permalink
Spotless Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-mingye authored and github-actions[bot] committed Oct 10, 2023
1 parent a76beb7 commit 23d557f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ const TokenModalForm: React.FC<TokenModalFormProps & connect> = (props) => {
form.setFieldValue('tokenValue', tokenValue);
};


return (
<>
<ModalForm<SysToken>
Expand All @@ -165,7 +164,7 @@ const TokenModalForm: React.FC<TokenModalFormProps & connect> = (props) => {
initialValues={{ ...value }}
modalProps={{
destroyOnClose: true,
onCancel: () => handleCancel(),
onCancel: () => handleCancel()
}}
>
<TokenForm expireType={expireType} buildToken={handleBuildToken} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const AlertGroupForm: React.FC<AlertGroupFormProps> = (props) => {
submitter={{ render: () => [...renderFooter()] }}
modalProps={{
destroyOnClose: true,
onCancel: () => handleModalVisible(false),
onCancel: () => handleModalVisible(false)
}}
>
{renderAlertGroupForm()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const ProjectModal: React.FC<ProjectModalProps> = (props) => {
initialValues={values}
modalProps={{
destroyOnClose: true,
onCancel: () => handleCancel(),
onCancel: () => handleCancel()
}}
>
<ProjectForm values={values} form={form} />
Expand Down

0 comments on commit 23d557f

Please sign in to comment.