diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-04-20 11:10:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 11:10:13 +0200 |
commit | f6e90fdc19e222b3b238f0f5995a8039b7db158e (patch) | |
tree | 69c22415cb50a650b046ce4b9a9ac99e57695dfd /server/sonar-web/src/main/js/apps/users | |
parent | 36c9fa041018d7eed91f1d22e0c5eda075737ebc (diff) | |
download | sonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.tar.gz sonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.zip |
upgrade prettier (#1954)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/routes.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.js b/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.js index 96cc5da6e53..007a6e05138 100644 --- a/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.js +++ b/server/sonar-web/src/main/js/apps/users/components/UsersSelectSearch.js @@ -37,7 +37,7 @@ export type Option = { type Props = { autoFocus?: boolean, excludedUsers: Array<string>, - handleValueChange: (Option) => void, + handleValueChange: Option => void, searchUsers: (string, number) => Promise<*>, selectedUser?: Option }; diff --git a/server/sonar-web/src/main/js/apps/users/routes.js b/server/sonar-web/src/main/js/apps/users/routes.js index 0a52028e543..e83f23c64b5 100644 --- a/server/sonar-web/src/main/js/apps/users/routes.js +++ b/server/sonar-web/src/main/js/apps/users/routes.js @@ -21,7 +21,8 @@ const routes = [ { getIndexRoute(_, callback) { require.ensure([], require => - callback(null, { component: require('./components/UsersAppContainer').default })); + callback(null, { component: require('./components/UsersAppContainer').default }) + ); } } ]; |