diff options
Diffstat (limited to 'src/store')
| -rw-r--r-- | src/store/initialStates.ts | 9 |
1 files changed, 4 insertions, 5 deletions
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 = <ProfilePreviewType[]>[]; export const NO_USER_DATA = { user: <UserType>NO_USER, profile: <ProfileType>NO_PROFILE, - avatar: <string | undefined>'', - cover: <string | undefined>'', + avatar: <string | undefined>undefined, + cover: <string | undefined>undefined, isOnboardedUser: false, newVersionAvailable: false, newNotificationReceived: false, @@ -98,8 +97,8 @@ export const EMPTY_USER_X = <UserXType>{ socialAccounts: NO_SOCIAL_ACCOUNTS, user: NO_USER, profile: NO_PROFILE, - avatar: '', - cover: '', + avatar: undefined, + cover: undefined, }; /** |
