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 ShowButton does not update on 'to' prop change #5483

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

rkfg
Copy link
Contributor

@rkfg rkfg commented Nov 3, 2020

Identical to #5014, ShowButton doesn't update if 'to' prop changes. My goal was to make the edit and show buttons work consistently with tabbed layouts, when a tab is opened in the show view the edit button should open the same tab in the edit view. Due to memoizing it didn't always work and now it does.

@fzaninotto fzaninotto merged commit 151b945 into marmelab:master Nov 4, 2020
@fzaninotto
Copy link
Member

Thanks!

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