CLASSROOMIO-T-6: Dashboard, courses page and other tabs
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export default (currency: string | undefined) => {
|
||||
return new Intl.NumberFormat('en-US', {
|
||||
style: 'currency',
|
||||
currency: currency,
|
||||
minimumFractionDigits: 2,
|
||||
});
|
||||
};
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user