Closed sawa-ko closed 2 weeks ago
it looks like you don't have any real route, just the __root.tsx
.
add an index.tsx
route next to it and you should be able to create a <Link to="/">
If you want this looked into further, please open a new issue with a valid reproduction of the bug you are facing.
Describe the bug
I am currently trying to use the Link component to visit the home page and I have 2 problems, which are typescript typing problems:
I don't understand how I should put the path in the to prop for the Link component, as I always get a type error anyway.
Your Example Website or App
I cannot reproduce it in the example test environment.
Steps to Reproduce the Bug or Issue
Expected behavior
Correct typing for this component prop.
Screenshots or Videos
No response
Platform
Additional context
No response