diff --git a/packages/concordia-app/src/components/UsernameSelector.jsx b/packages/concordia-app/src/components/UsernameSelector.jsx index 530cd7a..8323757 100644 --- a/packages/concordia-app/src/components/UsernameSelector.jsx +++ b/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, }); diff --git a/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx b/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx index 9e1b974..2515bea 100644 --- a/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx +++ b/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 ? (