added puck events

This commit is contained in:
GotthardG
2024-12-11 14:20:17 +01:00
parent 958c9167fc
commit c3fa02734a
2 changed files with 12 additions and 3 deletions

View File

@ -229,7 +229,7 @@ const DewarDetails: React.FC<DewarDetailsProps> = ({
const validateEmail = (email: string) => /\S+@\S+\.\S+/.test(email);
const validatePhoneNumber = (phone: string) => /^\+?[1-9]\d{1,14}$/.test(phone);
const validateZipCode = (zipcode: string) => /^\d{5}(?:[-\s]\d{4})?$/.test(zipcode);
const validateZipCode = (zipcode: string) => /^\d{4,5}(?:[-\s]\d{4})?$/.test(zipcode);
if (!dewar) return <Typography>No dewar selected.</Typography>;