Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): update route IDs for non-nested validator routes #323

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

drichar
Copy link
Collaborator

@drichar drichar commented Oct 30, 2024

Description

This PR updates the route IDs in the auto-generated router files to match Tanstack Router v1.63.2's updated syntax for non-nested routes. These changes were automatically generated when running the UI's dev script after upgrading from v1.56.5.

Details

  • Add explicit route id fields to match new Tanstack Router requirements
  • Update validator detail route ID from /validators/$validatorId to /validators_/$validatorId to follow non-nested route syntax
  • Maintain existing route paths and functionality

Auto-generated updates to non-nested route IDs in `routeTree.gen.ts` and `validators_.$validatorId.tsx` after upgrading `@tanstack/react-router` from v1.56.5 to v1.63.2.

Routes are generated/processed when the UI's `dev` or `start` scripts are run.
@pbennett pbennett merged commit df076b4 into dev Oct 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants