We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8a8a5 commit f93c06dCopy full SHA for f93c06d
1 file changed
src/app/(routes)/student/profile/page.tsx
@@ -200,10 +200,14 @@ const ProfilePage = () => {
200
201
// Check if onboarding is needed
202
const needsOnboarding =
203
- studentData?.backlog == null ||
204
- studentData?.tenthMarks == null ||
205
- studentData?.twelthMarks == null ||
206
- studentData?.numberOfBacklogs == null;
+ studentData?.backlog === undefined ||
+ studentData?.backlog === null ||
+ studentData?.tenthMarks === undefined ||
+ studentData?.tenthMarks === null ||
207
+ studentData?.twelthMarks === undefined ||
208
+ studentData?.twelthMarks === null ||
209
+ studentData?.numberOfBacklogs === undefined ||
210
+ studentData?.numberOfBacklogs === null;
211
212
const isOnboardingComplete = !needsOnboarding;
213
0 commit comments