0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(console): remove unnecessary required tag (#2638)

This commit is contained in:
Xiao Yijun 2022-12-13 11:16:56 +08:00 committed by GitHub
parent 14f86c01d5
commit e8ee2a31b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -77,7 +77,6 @@ const SenderTester = ({ connectorId, connectorType, config, className }: Props)
<div className={className}>
<div className={styles.fields}>
<FormField
isRequired
title={
isSms ? 'connector_details.test_sms_sender' : 'connector_details.test_email_sender'
}

View file

@ -91,7 +91,7 @@ const ConnectorForm = ({ connector, isAllowEditTarget }: Props) => {
</FormField>
</>
)}
<FormField isRequired title="connectors.guide.config">
<FormField title="connectors.guide.config">
<Controller
name="config"
control={control}
@ -102,7 +102,7 @@ const ConnectorForm = ({ connector, isAllowEditTarget }: Props) => {
)}
/>
</FormField>
<FormField isRequired title="connectors.guide.sync_profile">
<FormField title="connectors.guide.sync_profile">
<Controller
name="syncProfile"
control={control}