diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-07 17:07:09 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-07 17:07:09 -0400 |
commit | c18b2436897cd92e7a33c33c75e13dba1fec8ffe (patch) | |
tree | 0180365917b8483c660435381fb1e83393caee45 | |
parent | 06c1e5674a2e77bfa22048b4d559949403d30e0e (diff) |
Fix default value for university type
-rw-r--r-- | src/store/initialStates.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts index e0f9d776..e2902a2d 100644 --- a/src/store/initialStates.ts +++ b/src/store/initialStates.ts @@ -1,4 +1,4 @@ -import {CommentThreadType} from './../types/types'; +import {CommentThreadType, UniversityType} from './../types/types'; import { MomentType, NotificationType, @@ -17,7 +17,7 @@ export const NO_PROFILE: ProfileInfoType = { gender: '', birthday: undefined, university_class: 2021, - university: undefined, + university: UniversityType.Empty, badges: [], //Default to an invalid value and ignore it gracefully while showing tutorials / popups. profile_completion_stage: -1, |