File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/data/material/components/tables Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ export default function EnhancedTable() {
304
304
/>
305
305
< TableBody >
306
306
{ /* if you don't need to support IE11, you can replace the `stableSort` call with:
307
- rows.slice(). sort(getComparator(order, orderBy)) */ }
307
+ rows.sort(getComparator(order, orderBy)).slice( ) */ }
308
308
{ stableSort ( rows , getComparator ( order , orderBy ) )
309
309
. slice ( page * rowsPerPage , page * rowsPerPage + rowsPerPage )
310
310
. map ( ( row , index ) => {
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ export default function EnhancedTable() {
335
335
/>
336
336
< TableBody >
337
337
{ /* if you don't need to support IE11, you can replace the `stableSort` call with:
338
- rows.slice(). sort(getComparator(order, orderBy)) */ }
338
+ rows.sort(getComparator(order, orderBy)).slice( ) */ }
339
339
{ stableSort ( rows , getComparator ( order , orderBy ) )
340
340
. slice ( page * rowsPerPage , page * rowsPerPage + rowsPerPage )
341
341
. map ( ( row , index ) => {
You can’t perform that action at this time.
0 commit comments