I currently have a url like this:
http://localhost:3000/courses/italian/dynamic/lessons/wenC6hgETeMHSiFNabvk
http://localhost:3000/courses/[language]/dynamic/lessons/[lessonID]
I am trying to find an easy way to reach the following .../exercises page. All I need to do is add /exercises to the end of the above url. However, the following solution didn't work. Evidently, <Link /> no longer remembers what the [language] or [lessonID] params are on my current page.
<Link href={`exercises/flashcards`} passHref>
<a>begin</a>
</Link>
At this moment, the only solution I can think of is rewriting the entire URL with the needed slugs and passing that into href, but that feels a bit unnecessary if all I need to do is concat what I already have with /exercises/flashcards.
Am I missing something?
