diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-29 20:51:21 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-29 20:51:21 +0300 |
commit | 8d0e34c5a94ec351ae22429fcc962112a85d7c19 (patch) | |
tree | b0fa4543ce820a70d819de6b731f36168d29a323 /src/pages/ProfilePage/ProfileInfo.tsx | |
parent | b0a5c3d78d207a8bec15a7989c81384ee52c94a5 (diff) | |
download | which-ui-8d0e34c5a94ec351ae22429fcc962112a85d7c19.tar.gz |
refactor!: improve code quality :recycle:
Diffstat (limited to 'src/pages/ProfilePage/ProfileInfo.tsx')
-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 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} /> |