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

Using hook instead of props #1708

Merged

Conversation

jonasvoelcker
Copy link
Contributor

@jonasvoelcker jonasvoelcker commented Apr 5, 2024

The api.jsx had no withRouter component and therefore had no access to props.navigate. This was replaced by calling the hook directly. Fixes issue: #1707

@jonasvoelcker jonasvoelcker changed the title Replacing navigation on missing router with setting href Using hook instead of props Apr 11, 2024
@jonasvoelcker
Copy link
Contributor Author

@tchiotludo Now this one is also properly tested locally.

@tchiotludo tchiotludo merged commit 78f4389 into tchiotludo:dev Apr 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants