-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DataGrid] Reset sortedRows state on prop change (#599)
* Fix #575 reset sortedRows state on prop change * fix typescript issue * fix lint * prettier * update dep array * polish tests * Update packages/storybook/src/stories/grid-sorting.stories.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Update packages/storybook/src/stories/grid-sorting.stories.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * avoids confusion, sort is not immutable * cleanup story * refactor applySorting * fix lint Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
- Loading branch information
1 parent
0aa3491
commit 19435ad
Showing
5 changed files
with
111 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters