diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-29 17:31:51 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-29 17:31:51 +0300 |
commit | 856522da17348e54b0d390f10772c21b4029e9bd (patch) | |
tree | e3642a46d926b6dc4ceae041083112492486c410 /src/pages/ProfilePage | |
parent | 0852cbeea6a3872c4a3a4b7dd974db53eb0a85dd (diff) | |
download | which-ui-856522da17348e54b0d390f10772c21b4029e9bd.tar.gz |
fix: make code redably clear
Diffstat (limited to 'src/pages/ProfilePage')
-rw-r--r-- | src/pages/ProfilePage/ProfileInfo.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/ProfilePage/ProfileInfo.tsx b/src/pages/ProfilePage/ProfileInfo.tsx index 659d104..ec6c387 100644 --- a/src/pages/ProfilePage/ProfileInfo.tsx +++ b/src/pages/ProfilePage/ProfileInfo.tsx @@ -121,7 +121,7 @@ const ProfileInfo: React.FC<PropTypes> = ({ <Avatar className={classes.avatar} src={user?.avatarUrl} /> </Badge> </div> - <UploadImage displayD={input} setDisplayD={setInput} callback={patchAvatar} /> + <UploadImage display={input} isOpen={setInput} callback={patchAvatar} /> </div> ) : <Avatar className={classes.avatar} src={user?.avatarUrl} /> |