From 8022d908ca09860424529d818e210d63fff9f398 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 16 Mar 2021 13:27:09 -0400 Subject: better fix for images --- src/store/initialStates.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/store') diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts index 275664cc..d89927a7 100644 --- a/src/store/initialStates.ts +++ b/src/store/initialStates.ts @@ -1,6 +1,5 @@ import {CommentThreadType} from './../types/types'; import { - ExploreSectionType, MomentType, NotificationType, ProfilePreviewType, @@ -42,8 +41,8 @@ export const EMPTY_PROFILE_PREVIEW_LIST = []; export const NO_USER_DATA = { user: NO_USER, profile: NO_PROFILE, - avatar: '', - cover: '', + avatar: undefined, + cover: undefined, isOnboardedUser: false, newVersionAvailable: false, newNotificationReceived: false, @@ -98,8 +97,8 @@ export const EMPTY_USER_X = { socialAccounts: NO_SOCIAL_ACCOUNTS, user: NO_USER, profile: NO_PROFILE, - avatar: '', - cover: '', + avatar: undefined, + cover: undefined, }; /** -- cgit v1.2.3-70-g09d2