feat: implement error boundaries for improved error handling across routes

This commit is contained in:
Ardeman
2025-03-11 23:04:29 +08:00
parent 2b253633a5
commit d1b828bba1
13 changed files with 371 additions and 4 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export const createSubscribePlanSchema = z.object({
code: z.string(),
length: z.preprocess(Number, z.number().optional()),
price: z.preprocess(Number, z.number().optional()),
status: z.boolean().optional(),
status: z.number().optional(),
})
export type TSubscribePlanSchema = z.infer<typeof createSubscribePlanSchema>
type TProperties = {