If I put usePrompt in a Parent route, it gets fired as user navigates through its children's paths #312
Unanswered
Jared-Dahlke
asked this question in
Q&A
Replies: 2 comments
-
I have a suspicion it is because i have children routes under a param |
Beta Was this translation helpful? Give feedback.
0 replies
-
i removed :brandProfileId and am just using search params instead. stilll not quite right but getting better:. I still get prompt navigating brand profile change here's how im navigating through the children
here's the updated routes
|
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.
-
Here is my routes array, it has only ONE instance of using
usePrompt
, and no instances of<Prompt/>
I put my question on the route itself to maximize context, search for *** to easily find it.
Beta Was this translation helpful? Give feedback.
All reactions