mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Minor UX fix on password change
refs. https://github.com/TryGhost/Team/issues/3351
This commit is contained in:
parent
97c3434c3d
commit
1a0c1c0cd2
1 changed files with 2 additions and 1 deletions
|
@ -285,7 +285,8 @@ const Password: React.FC<UserDetailProps> = ({user}) => {
|
|||
if (saveState === 'saved') {
|
||||
setTimeout(() => {
|
||||
setSaveState('');
|
||||
}, 2000);
|
||||
setEditPassword(false);
|
||||
}, 2500);
|
||||
}
|
||||
}, [saveState]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue