How to use Link Component to not nest current route? #175
Answered
by
skalidindi
skalidindi
asked this question in
Q&A
-
Say I am in the /home route which uses the Home element.
Clicking on that link changes the url to /home/jobs instead of /jobs. |
Beta Was this translation helpful? Give feedback.
Answered by
skalidindi
Dec 29, 2021
Replies: 1 comment
-
Sorry, I figured it out, just needed leading slash i.e |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
skalidindi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, I figured it out, just needed leading slash i.e
<Link to="/jobs" />