Skip to content

Commit

Permalink
changed LENGTH_EMAIL
Browse files Browse the repository at this point in the history
  • Loading branch information
KuzykY committed May 9, 2024
1 parent 6da3036 commit 2e2c101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CheckOutlined, CopyOutlined } from '@ant-design/icons';
import { toast } from 'react-toastify';
import { Tooltip } from 'antd';

const LENGTH_EMAIL = 26;
const LENGTH_EMAIL = 14;

function PhoneEmail({ profileId, personId }) {
const [isContactsShown, setContactsShown] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import preventEnterSubmit from '../../../../utils/preventEnterSubmit';
import css from './HalfFormField.module.css';
import { Tooltip } from 'antd';

const LENGTH_EMAIL = 34;
const LENGTH_EMAIL = 19;

const HalfFormField = (props) => {
const shouldShowTooltip = props.name === 'email' && props.value.length > LENGTH_EMAIL;
Expand Down

0 comments on commit 2e2c101

Please sign in to comment.