mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 20:08:07 +08:00
Improved revalidation and added drop down menus to onboarding
This commit is contained in:
parent
f4ca96e35d
commit
bccc808150
7 changed files with 218 additions and 26 deletions
|
@ -20,7 +20,10 @@ export default function Revalidation() {
|
|||
if (response) {
|
||||
let user_info = await UserInfo();
|
||||
await dispatch(setUser(user_info));
|
||||
if (!(user_info.year_level || user_info.course || user_info.semester)) {
|
||||
if (
|
||||
!(user_info.year_level || user_info.course || user_info.semester) &&
|
||||
(await UserInfo())
|
||||
) {
|
||||
await setTimeout(() => {
|
||||
navigation.navigate("Onboarding");
|
||||
}, 700);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue