From 2e06a921076f73f901b333eb7fa236f7971ff3ac Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 9 Feb 2018 13:50:43 +0100 Subject: enable eslint rules to enforce newlines (#3043) --- server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx') diff --git a/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx b/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx index 4b605759a84..2d54fee167c 100644 --- a/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx +++ b/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.tsx @@ -55,6 +55,7 @@ export default class UsersSelectSearch extends React.PureComponent this.handleSearch = debounce(this.handleSearch, 250); this.state = { searchResult: [], isLoading: false, search: '' }; } + componentDidMount() { this.mounted = true; this.handleSearch(this.state.search); -- cgit v1.2.3