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

Dka34/link fix #551

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Dka34/link fix #551

merged 4 commits into from
Nov 11, 2024

Conversation

Atikpui007
Copy link
Collaborator

Summary

This pull request is aimed at fixing the navigation issue that occured when clicking on a student or employee to access the employee detail page.

  • Removed the nested routes and made them sibling routes as that is more in line with react-router style
  • Used useNavigate hook for the creating the paths

Test Plan

Manual testing done. Links seem to work as expected

Notes

Noticed EmployeeDetail and RiderDetail share some similiarites might abstract some of the components in future PRs

Breaking Changes

@Atikpui007 Atikpui007 requested a review from a team as a code owner November 11, 2024 20:06
@dti-github-bot
Copy link
Member

[diff-counting] Significant lines: 223.

Copy link
Contributor

@raissaji raissaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glooks

@Atikpui007 Atikpui007 merged commit b835bc1 into master Nov 11, 2024
5 checks passed
@Atikpui007 Atikpui007 deleted the dka34/link_fix branch November 11, 2024 21:05
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.

3 participants