aboutsummaryrefslogtreecommitdiff
path: root/src/store/initialStates.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-23 16:18:19 -0400
committerIvan Chen <ivan@tagg.id>2021-03-23 16:18:19 -0400
commit4844b69ed6c381fe8e573e77d32302965c4de274 (patch)
tree605f08e0019c877564a9631be604d83e67dd7caf /src/store/initialStates.ts
parent8022d908ca09860424529d818e210d63fff9f398 (diff)
updated types, using api/profile
Diffstat (limited to 'src/store/initialStates.ts')
-rw-r--r--src/store/initialStates.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts
index d89927a7..8ffdd559 100644
--- a/src/store/initialStates.ts
+++ b/src/store/initialStates.ts
@@ -3,14 +3,14 @@ import {
MomentType,
NotificationType,
ProfilePreviewType,
- ProfileType,
+ ProfileInfoType,
ScreenType,
SocialAccountType,
UserType,
UserXType,
} from '../types';
-export const NO_PROFILE: ProfileType = {
+export const NO_PROFILE: ProfileInfoType = {
biography: '',
website: '',
name: '',
@@ -40,7 +40,7 @@ export const EMPTY_PROFILE_PREVIEW_LIST = <ProfilePreviewType[]>[];
export const NO_USER_DATA = {
user: <UserType>NO_USER,
- profile: <ProfileType>NO_PROFILE,
+ profile: <ProfileInfoType>NO_PROFILE,
avatar: <string | undefined>undefined,
cover: <string | undefined>undefined,
isOnboardedUser: false,