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 <Datagrid rowClick> regression #10102

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Jul 29, 2024

Problem

#10100

Additional Checks

  • The PR targets master for a bugfix, or next for a feature

Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

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

Thanks! The code is easier to read with this change 👍


return path;
};

export const useGetRouteForRecordCallback = <
Copy link
Member

Choose a reason for hiding this comment

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

I'd call this function useGetRouteForRecordCallback and extract it to another file (and export it)

@fzaninotto fzaninotto merged commit 169f5f8 into master Aug 2, 2024
14 checks passed
@fzaninotto fzaninotto deleted the fix-datagrid-rowclick-regression branch August 2, 2024 09:21
@fzaninotto fzaninotto added this to the 5.1.1 milestone Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants