Remove extraneous parameters from router links
Right now I'm just passing all the useParams()
into named route functions for links, which as the docs mention results in links containing (in our case extraneous) query string parameters like:
http://localhost:8910/events/clntskf6k0000lw6uneh1svg3/invites/new?inviteId=clntskf6k0001lw6uzj9dguqv
instead of simply
http://localhost:8910/events/clntskf6k0000lw6uneh1svg3/invites/new
For now, this isn't impacting anything but it's ugly