fix(Table, SelectionCheckboxAll): add eslint comment

This commit is contained in:
kristof0425 2019-08-13 17:16:24 +02:00 committed by 偏右
parent 0be5e334e4
commit 1d5bd4a7aa

View File

@ -179,6 +179,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
});
}
// eslint-disable-next-line camelcase
UNSAFE_componentWillReceiveProps(nextProps: TableProps<T>) {
this.columns = nextProps.columns || normalizeColumns(nextProps.children as React.ReactChildren);
if ('pagination' in nextProps || 'pagination' in this.props) {