From 374c83182237d9afc100a25749f732878a22322c Mon Sep 17 00:00:00 2001 From: zy410419243 Date: Sun, 2 Dec 2018 16:07:39 +0800 Subject: [PATCH] pref: fix lint problem --- components/table/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] : [];