Skip to content

Conversation

@devinvillarosa
Copy link
Contributor

@devinvillarosa devinvillarosa commented Apr 8, 2025

At some point getRouteApi was updated to work with a route that is relative to the path being passed.
This broke the useNavigate mechanism because these re-usable hooks are referencing an incorrect relative path.

Update useNavigate to not use getRouteApi, and default to use absolute pathing

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

@github-actions github-actions bot added the ui-replatform Related to the React UI rewrite label Apr 8, 2025
@devinvillarosa devinvillarosa merged commit e7fa0e3 into main Apr 8, 2025
15 checks passed
@devinvillarosa devinvillarosa deleted the fix-navigate-re-direct branch April 8, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui-replatform Related to the React UI rewrite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants