0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-03 21:48:55 -05:00

fix(console): chagne user added modal button to done (#1438)

This commit is contained in:
Wang Sijie 2022-07-07 11:04:03 +08:00 committed by GitHub
parent b26fb0c0c3
commit ec82507ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,11 +46,12 @@ const CreateSuccess = ({ username, password, title, onClose, passwordLabel }: Pr
title={title}
footer={
<>
<Button title="admin_console.general.close" onClick={onClose} />
<Button title="admin_console.general.done" onClick={onClose} />
<Button type="primary" title="admin_console.general.copy" onClick={handleCopy} />
</>
}
className={styles.content}
onClose={onClose}
>
<div>{t('user_details.created_guide')}</div>
<div className={styles.info}>