How to handle searchParams when they are being called from a shared component #3135
Unanswered
esultanovvalley
asked this question in
Q&A
Replies: 1 comment
-
please provide a minimal complete example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a header component that takes a global search search param that redirects the user to the search page. BUt for some reason,, when I navigate to the homepage, I get the following error
Error: Invariant failed: Could not find an active match from "/_layout/search"
This is how I am using useSearch in the shared global component
Beta Was this translation helpful? Give feedback.
All reactions