aboutsummaryrefslogtreecommitdiff
path: root/src/store/initialStates.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-16 13:27:09 -0400
committerIvan Chen <ivan@tagg.id>2021-03-17 18:38:08 -0400
commit8022d908ca09860424529d818e210d63fff9f398 (patch)
tree592bd07f0b47b7f69abbe564cc81d7b35e45e28e /src/store/initialStates.ts
parent0f406a2305421a69151e53af3c41350d9b976cc8 (diff)
better fix for images
Diffstat (limited to 'src/store/initialStates.ts')
-rw-r--r--src/store/initialStates.ts9
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,
};
/**