Skip to content

Commit

Permalink
fix lint error (ant-design#7006)
Browse files Browse the repository at this point in the history
  • Loading branch information
djyde authored and afc163 committed Jul 30, 2017
1 parent 541a992 commit 859761e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tree-select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ abstract class TreeSelect extends React.Component<TreeSelectProps, any> {
dropdownClassName: 'ant-select-tree-dropdown',
};

abstract getLocale();

constructor(props) {
super(props);

Expand All @@ -32,6 +30,8 @@ abstract class TreeSelect extends React.Component<TreeSelectProps, any> {
);
}

abstract getLocale();

render() {
const locale = this.getLocale();
const {
Expand Down

0 comments on commit 859761e

Please sign in to comment.