0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(console): improve delete confirm experience

This commit is contained in:
Charles Zhao 2022-05-25 11:51:26 +08:00
parent 7a17d41acf
commit 9e0e388a28
No known key found for this signature in database
GPG key ID: 4858774754C92DF2
2 changed files with 2 additions and 0 deletions

View file

@ -71,6 +71,7 @@ const DeleteForm = ({ id, name, onClose }: Props) => {
/> />
</div> </div>
<TextInput <TextInput
autoFocus
value={inputName} value={inputName}
placeholder={t('api_resource_details.enter_your_api_resource_name')} placeholder={t('api_resource_details.enter_your_api_resource_name')}
hasError={inputMismatched} hasError={inputMismatched}

View file

@ -71,6 +71,7 @@ const DeleteForm = ({ id, name, onClose }: Props) => {
/> />
</div> </div>
<TextInput <TextInput
autoFocus
value={inputName} value={inputName}
placeholder={t('application_details.enter_your_application_name')} placeholder={t('application_details.enter_your_application_name')}
hasError={inputMismatched} hasError={inputMismatched}