CLASSROOMIO-T-6: Dashboard, courses page and other tabs

This commit is contained in:
Rotimi Best
2023-01-03 09:26:08 +01:00
parent 6d89830e86
commit 1c9639725a
40 changed files with 1524 additions and 264 deletions
+2 -4
View File
@@ -28,10 +28,8 @@ const resetValidationSchema = z.object({
const onboardingValidationSchema = {
stepOne: z.object({
fullname: z.string().min(1, { message: 'Enter your fullname' }),
role: z.string({
required_error: 'Please select a goal',
invalid_type_error: 'Please select a goal',
}),
orgName: z.string().min(1, { message: 'Enter your organisation name' }),
siteName: z.string().min(1, { message: 'Enter your site name' }),
}),
stepTwo: z.object({
goal: z