aboutsummaryrefslogtreecommitdiff
path: root/src/pages/ProfilePage
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-06-29 17:31:51 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-06-29 17:31:51 +0300
commit856522da17348e54b0d390f10772c21b4029e9bd (patch)
treee3642a46d926b6dc4ceae041083112492486c410 /src/pages/ProfilePage
parent0852cbeea6a3872c4a3a4b7dd974db53eb0a85dd (diff)
downloadwhich-ui-856522da17348e54b0d390f10772c21b4029e9bd.tar.gz
fix: make code redably clear
Diffstat (limited to 'src/pages/ProfilePage')
-rw-r--r--src/pages/ProfilePage/ProfileInfo.tsx2
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} />