diff --git a/components/table/Table.tsx b/components/table/Table.tsx index 710b986090..59b7a461fb 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -840,6 +840,7 @@ export default class Table extends React.Component, TableState< ); } + const sortTitleString = (sortButton && typeof sortTitle === 'string') ? sortTitle : undefined; return { ...column, className: classNames(column.className, { @@ -851,7 +852,7 @@ export default class Table extends React.Component, TableState< title: [
this.toggleSortOrder(column)} >