remove ts-ignore, added empty message and small bug fixes

This commit is contained in:
Sebastian Sdorra
2019-12-03 16:04:11 +01:00
parent a08d47df82
commit 54ac5a1f14
4 changed files with 67 additions and 45 deletions

View File

@@ -10,7 +10,7 @@ const TextColumn: FC<Props> = ({ row, dataKey }) => {
};
TextColumn.defaultProps = {
createComparator: (props: Props, columnIndex) => {
createComparator: (props: Props) => {
return (a: any, b: any) => {
if (a[props.dataKey] < b[props.dataKey]) {
return -1;