fix: prevent phone input from running validation on mount when empty

This commit is contained in:
Simon Emanuelsson
2024-10-31 13:39:08 +01:00
parent eb0494c2a2
commit 46a1874a76
8 changed files with 56 additions and 35 deletions

View File

@@ -0,0 +1,6 @@
import { z } from "zod"
import { getBreakfastPackageInputSchema } from "@/server/routers/hotels/input"
export interface BreackfastPackagesInput
extends z.input<typeof getBreakfastPackageInputSchema> {}