diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-20 12:10:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 12:10:55 -0500 |
commit | a64a0c53f108f8ea9c9ac0ba67c34ff82007271e (patch) | |
tree | ec26f56f434b75e1d41a608db4ca93c2d022bdb2 | |
parent | 4c921c80805a2012f79396a041c67e5a1aa9d954 (diff) | |
parent | 8b61cdf32ef654da16c3dbe0bd0deed2326fb646 (diff) |
Merge pull request #193 from ashmgarv/popup-bug
[HOTFIX] Fix random popups
-rw-r--r-- | src/store/initialStates.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts index 08dc7077..4da53c2e 100644 --- a/src/store/initialStates.ts +++ b/src/store/initialStates.ts @@ -17,7 +17,9 @@ export const NO_PROFILE: ProfileType = { gender: '', birthday: undefined, university_class: 2021, - profile_completion_stage: 1, + + //Default to an invalid value and ignore it gracefully while showing tutorials / popups. + profile_completion_stage: -1, snapchat: '', tiktok: '', friendship_status: 'no_record', |