diff --git a/components/table/Table.tsx b/components/table/Table.tsx index cc0dcbf117..8b7b62401e 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -785,7 +785,7 @@ export default class Table extends React.Component, TableState< const key = this.getColumnKey(column, i) as string; let filterDropdown; let sortButton; - let sortTitle = this.getColumnTitle(column.title, {}) || locale.sortTitle; + const sortTitle = this.getColumnTitle(column.title, {}) || locale.sortTitle; const isSortColumn = this.isSortColumn(column); if ((column.filters && column.filters.length > 0) || column.filterDropdown) { const colFilters = key in filters ? filters[key] : [];