Disable sorting for a particular column is not working, I have used the method from documentation https://react-table.tanstack.com/docs/api/useSortBy
export const COLUMNS = [
{
Header: 'Avatar',
accessor: 'avatar',
maxWidth: 50,
minWidth: 50,
Cell: ({ cell: { value } }) => (
<img
src={value}
width={60}
/>
)
},
{
Header: 'Name',
accessor: 'name',
Filter:ColumnFilter,
disableSortBy:'true'
}
]