From d254a4e76e8ce83faa3f5e1de4fe5d045ef9a332 Mon Sep 17 00:00:00 2001 From: Tim <44668364+Volene@users.noreply.github.com> Date: Fri, 23 Aug 2024 17:11:45 +0300 Subject: [PATCH] change order --- .../src/components/head/MRT_TableHeadCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-react-table/src/components/head/MRT_TableHeadCell.tsx b/packages/material-react-table/src/components/head/MRT_TableHeadCell.tsx index 33554e28d..b4e7185a5 100644 --- a/packages/material-react-table/src/components/head/MRT_TableHeadCell.tsx +++ b/packages/material-react-table/src/components/head/MRT_TableHeadCell.tsx @@ -167,8 +167,8 @@ export const MRT_TableHeadCell = ({ data-index={staticColumnIndex} data-pinned={!!isColumnPinned || undefined} data-allows-sorting={column.getCanSort()} - aria-sort={column.getIsSorted() ? (column.getIsSorted() === 'asc' ? 'ascending' : 'descending') : 'none'} data-sort-direction={column.getIsSorted() === 'asc' ? 'ascending' : 'descending' ?? undefined} + aria-sort={column.getIsSorted() ? (column.getIsSorted() === 'asc' ? 'ascending' : 'descending') : 'none'} onDragEnter={handleDragEnter} onDragOver={handleDragOver} ref={(node: HTMLTableCellElement) => {