aboutsummaryrefslogtreecommitdiff
path: root/src/pages/ProfilePage/ProfileInfo.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-29 20:51:21 +0300
committereug-vs <eug-vs@keemail.me>2020-06-29 20:51:21 +0300
commit8d0e34c5a94ec351ae22429fcc962112a85d7c19 (patch)
treeb0fa4543ce820a70d819de6b731f36168d29a323 /src/pages/ProfilePage/ProfileInfo.tsx
parentb0a5c3d78d207a8bec15a7989c81384ee52c94a5 (diff)
downloadwhich-ui-8d0e34c5a94ec351ae22429fcc962112a85d7c19.tar.gz
refactor!: improve code quality :recycle:
Diffstat (limited to 'src/pages/ProfilePage/ProfileInfo.tsx')
-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 ec6c387..9fe5912 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 display={input} isOpen={setInput} callback={patchAvatar} />
+ <UploadImage isOpen={input} setIsOpen={setInput} callback={patchAvatar} />
</div>
)
: <Avatar className={classes.avatar} src={user?.avatarUrl} />