PackRat icon indicating copy to clipboard operation
PackRat copied to clipboard

fix: trip page param issue

Open tibeb-dev opened this issue 1 year ago • 3 comments

tibeb-dev avatar Feb 18 '24 11:02 tibeb-dev

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 661bb0a
Status: ✅  Deploy successful!
Preview URL: https://7c5443f6.packrat.pages.dev
Branch Preview URL: https://param-issue.packrat.pages.dev

View logs

Issue still persists on this branch. To re-create:

  • Go to /trip/create
  • Select a location
  • then change the selected pack. Params clear out and we lose state

I believe you will want to look into how we are using search params on this page. that is the issue i believe. See PackContainer and create trip component + hooks.

andrew-bierman avatar Feb 18 '24 17:02 andrew-bierman

Fixed now. check it out!

tibeb-dev avatar Feb 25 '24 07:02 tibeb-dev