How to get the current route so it can be used in the from
prop
#4852
Answered
by
schiller-manuel
amanmahajan7
asked this question in
Q&A
-
I have page that shows TOC and uses hash for links. I am using the following code
This issue is that TOCComponent can render from multiple pages so I cannot use
|
Beta Was this translation helpful? Give feedback.
Answered by
schiller-manuel
Aug 1, 2025
Replies: 1 comment 1 reply
-
just omit the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
amanmahajan7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just omit the
from
and setto='.'
?