diff --git a/client/src/utils/PhoneFormatter.jsx b/client/src/utils/PhoneFormatter.jsx index 6128760c8..d99922697 100644 --- a/client/src/utils/PhoneFormatter.jsx +++ b/client/src/utils/PhoneFormatter.jsx @@ -3,6 +3,6 @@ import parsePhoneNumber from "libphonenumber-js"; import React from "react"; export default function PhoneNumberFormatter(props) { - const p = parsePhoneNumber(props.children, "CA"); + const p = parsePhoneNumber(props.children || "", "CA"); return p ? {p.formatInternational()} : null; }