Skip to content

Commit 71eed66

Browse files
LeonErathLemonaOna
authored andcommitted
Include 5 characters long numbers as direct dial
1 parent 856efb9 commit 71eed66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/phone-number-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ export const parsePhoneNumber = (
4646
};
4747

4848
export const isDirectDial = (phoneNumber: string) => {
49-
return phoneNumber.length < MIN_PHONE_NUMBER_LENGTH;
49+
return phoneNumber.length <= MIN_PHONE_NUMBER_LENGTH;
5050
};

0 commit comments

Comments
 (0)