fix(medusa, admin-ui, medusa-react): Gift Card update fixes and admin UI cleanup (#3676)

* fix gc domain issues

* add changeset

* update changeset

* more minor fixes, remove breadcrumb

* more cleanup

* address feedback
This commit is contained in:
Kasper Fabricius Kristensen
2023-04-02 19:04:32 +02:00
committed by GitHub
parent a5ad6c0542
commit 788ddc0f43
51 changed files with 997 additions and 709 deletions

View File

@@ -48,6 +48,10 @@ const FormValidator = {
`${name} must be less than or equal to ${getNormalizedAmount(currency)}.`
)
},
email: (name: string) => ({
value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,
message: `${name} must be a valid email address.`,
}),
}
/**