added puck events
This commit is contained in:
@ -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>;
|
||||
|
||||
|
Reference in New Issue
Block a user