mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
parent
6a62e32fa5
commit
51e6ac6d62
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ const CreateAccount = ({ className }: Props) => {
|
|||
useEffect(() => {
|
||||
// TODO: username exist error message
|
||||
if (error) {
|
||||
setToast(t('error.username_exists'));
|
||||
setToast(error.message);
|
||||
}
|
||||
}, [error, i18n, setToast, t]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue