aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-07 17:07:09 -0400
committerIvan Chen <ivan@tagg.id>2021-06-07 17:07:09 -0400
commitc18b2436897cd92e7a33c33c75e13dba1fec8ffe (patch)
tree0180365917b8483c660435381fb1e83393caee45 /src
parent06c1e5674a2e77bfa22048b4d559949403d30e0e (diff)
Fix default value for university type
Diffstat (limited to 'src')
-rw-r--r--src/store/initialStates.ts4
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,