From 5df04e6827bcb60876d36966feaedbbc9f0f1354 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Mon, 26 Feb 2018 17:24:55 +0800 Subject: [PATCH] Fix lint --- components/table/filterDropdown.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/table/filterDropdown.tsx b/components/table/filterDropdown.tsx index dfe4212b3a..79b451b19e 100755 --- a/components/table/filterDropdown.tsx +++ b/components/table/filterDropdown.tsx @@ -192,9 +192,7 @@ export default class FilterMenu extends React.Component, F onSelect={this.setSelectedKeys} onDeselect={this.setSelectedKeys} selectedKeys={this.state.selectedKeys} - getPopupContainer={(triggerNode: HTMLElement) => { - return triggerNode.parentNode; - }} + getPopupContainer={(triggerNode: HTMLElement) => triggerNode.parentNode} > {this.renderMenus(column.filters!)}