How do I handle phone numbers? #13580
-
I have a Link component that uses Next/Link and I'm passing in a telephone number formatted like this: However I get an error: Invalid href passed to router: tel:+15555555555 Are telephone numbers not supported? |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
May 30, 2020
Replies: 1 comment
-
From the docs :
With other words, you do not need a next link for tel. just use a regular (if you found my answer helpful, could you please mark this as ansewered 🙂) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidgtu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the docs :
With other words, you do not need a next link for tel. just use a regular
a
withhref
(if you found my answer helpful, could you please mark this as ansewered 🙂)