diff --git a/client/src/components/chat-new-conversation/chat-new-conversation.component.jsx b/client/src/components/chat-new-conversation/chat-new-conversation.component.jsx index 1fd219662..907c5149c 100644 --- a/client/src/components/chat-new-conversation/chat-new-conversation.component.jsx +++ b/client/src/components/chat-new-conversation/chat-new-conversation.component.jsx @@ -5,7 +5,9 @@ import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; import { openChatByPhone } from "../../redux/messaging/messaging.actions"; -import PhoneFormItem from "../form-items-formatted/phone-form-item.component"; +import PhoneFormItem, { + PhoneItemFormatterValidation, +} from "../form-items-formatted/phone-form-item.component"; const mapStateToProps = createStructuredSelector({ //currentUser: selectCurrentUser @@ -26,7 +28,14 @@ export function ChatNewConversation({ openChatByPhone }) { const popContent = (
- + + PhoneItemFormatterValidation(getFieldValue, "phoneNumber"), + ]} + >