File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { CellExtended, CellProps } from './Cell';
4
4
import NativeSortIcon from '../icons/NativeSortIcon' ;
5
5
import { equalizeId } from './util' ;
6
6
import { TableColumn , SortAction , SortOrder } from './types' ;
7
- import NativeReorderIcon from '../icons/NativeReorderIcon' ;
8
7
9
8
interface ColumnStyleProps extends CellProps {
10
9
isDragging ?: boolean ;
@@ -176,8 +175,6 @@ function TableCol<T>({
176
175
< span className = { [ sortDirection , '__rdt_custom_sort_icon__' ] . join ( ' ' ) } > { sortIcon } </ span >
177
176
) ;
178
177
179
- const renderNativeReorderIcon = ( ) => < NativeReorderIcon /> ;
180
-
181
178
const sortActive = ! ! ( column . sortable && equalizeId ( selectedColumn . id , column . id ) ) ;
182
179
const disableSort = ! column . sortable || disabled ;
183
180
const nativeSortIconLeft = column . sortable && ! sortIcon && ! column . right ;
@@ -220,7 +217,6 @@ function TableCol<T>({
220
217
sortActive = { ! disableSort && sortActive }
221
218
disabled = { disableSort }
222
219
>
223
- { column . reorder && renderNativeReorderIcon ( ) }
224
220
{ ! disableSort && customSortIconRight && renderCustomSortIcon ( ) }
225
221
{ ! disableSort && nativeSortIconRight && renderNativeSortIcon ( sortActive ) }
226
222
You can’t perform that action at this time.
0 commit comments