Browse Source

Fix profile issues

develop
Apostolos Fanakis 4 years ago
parent
commit
04f6adac8a
  1. 2
      packages/concordia-app/src/components/UsernameSelector.jsx
  2. 2
      packages/concordia-app/src/views/Profile/GeneralTab/index.jsx

2
packages/concordia-app/src/components/UsernameSelector.jsx

@ -38,7 +38,7 @@ const UsernameSelector = (props) => {
});
} else {
onErrorChangeCallback({
usernameChecked: checkedUsername !== undefined,
usernameChecked: true,
error: false,
errorMessage: null,
});

2
packages/concordia-app/src/views/Profile/GeneralTab/index.jsx

@ -66,7 +66,7 @@ const GeneralTab = (props) => {
}
}, [dispatch, profileAddress, users]);
const authorAvatar = useMemo(() => (profileMetadataFetched && userAvatarUrl !== null
const authorAvatar = useMemo(() => (profileMetadataFetched && userAvatarUrl
? (
<Image
className="general-tab-profile-picture"

Loading…
Cancel
Save