diff --git a/src/features/ProfileLogo/index.tsx b/src/features/ProfileLogo/index.tsx index 05eb3175..290ef26e 100644 --- a/src/features/ProfileLogo/index.tsx +++ b/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 }