Migrate from Zod v3 to v4 (#14639)
Closes [#1526](https://github.com/twentyhq/core-team-issues/issues/1526) --------- Co-authored-by: Félix Malfait <felix@twenty.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ export const SettingsAccountsBlocklistInput = ({
|
||||
emailOrDomain: z
|
||||
.string()
|
||||
.trim()
|
||||
.email(t`Invalid email or domain`)
|
||||
.pipe(z.email({ error: t`Invalid email or domain` }))
|
||||
.or(
|
||||
z.string().refine(
|
||||
(value) =>
|
||||
|
||||
Reference in New Issue
Block a user