Skip to content

Commit

Permalink
fix: type 'string' is not assignable to type 'E164Number' #28 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishpanthi authored Nov 16, 2024
1 parent 711ea92 commit 2234625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/phone-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps> =
*
* @param {E164Number | undefined} value - The entered value
*/
onChange={(value) => onChange?.(value || "")}
onChange={(value) => onChange?.(value || ("" as RPNInput.Value))}
{...props}
/>
);
Expand Down

0 comments on commit 2234625

Please sign in to comment.