diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-10-29 21:28:52 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-10-29 21:28:52 +0300 |
commit | 5eba5c1ffcdaee9a81e965f0570b00dd26bb38c6 (patch) | |
tree | d003cb63ce9915f45142a529c865aaf6cd3a98c3 /src/containers/Profile/ProfileInfo.tsx | |
parent | a40961a2564738ca9f14d9e50e0d1d5c6ab7ec54 (diff) | |
download | which-ui-5eba5c1ffcdaee9a81e965f0570b00dd26bb38c6.tar.gz |
Wait till modal slide right on close
Diffstat (limited to 'src/containers/Profile/ProfileInfo.tsx')
-rw-r--r-- | src/containers/Profile/ProfileInfo.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Profile/ProfileInfo.tsx b/src/containers/Profile/ProfileInfo.tsx index 763a077..b71e6db 100644 --- a/src/containers/Profile/ProfileInfo.tsx +++ b/src/containers/Profile/ProfileInfo.tsx @@ -129,7 +129,7 @@ const ProfileInfo: React.FC<PropTypes> = ({ return ( <div className={classes.root}> { - avatarToCrop && <AvatarCrop avatarToCrop={avatarToCrop} callback={handleUpdateAvatar}/> + avatarToCrop && <AvatarCrop avatarToCrop={avatarToCrop} setAvatarToCrop={setAvatarToCrop} callback={handleUpdateAvatar}/> } { !userInfo |