How to set up optional segment for last path in URL #11353
Unanswered
deathemperor
asked this question in
Q&A
Replies: 0 comments
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.
-
I have this path:
/portal/hc-claim-cases/:claimCaseId/:section?, I'm able to retrieveclaimCaseIdwith useParams but notsection.sample path:
/portal/hc-claim-cases/bcf5fe49-42f8-479c-9526-45f980fa1019/gallerywhat works:
bcf5fe49-42f8-479c-9526-45f980fa1019is value ofclaimCaseIdwhat doesn't:
sectionproperty does not exist inuseParams()Beta Was this translation helpful? Give feedback.
All reactions