fix(#3080): fixed aws value

keep-around/9d11a525a1ee745f785976389c40d7a0601133e1
Rakov Roman 3 years ago
parent 7b417df0c2
commit 6f755da982
  1. 4
      src/features/ProfileLogo/index.tsx

@ -74,7 +74,9 @@ export const ProfileLogo = ({
useEffect(() => {
(async () => {
if (!logoUrl) {
// если нет logoUrl, то нужно делать запрос в aws
// если logoUrl === null, то это уже ответ с aws
if (logoUrl === null) {
setImageSource(scoutSrc)
return
}

Loading…
Cancel
Save