aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/store/languages
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/store/languages')
-rw-r--r--server/sonar-web/src/main/js/store/languages/reducer.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/store/languages/reducer.js b/server/sonar-web/src/main/js/store/languages/reducer.js
index 84aafb8632e..4e4dbfef3b8 100644
--- a/server/sonar-web/src/main/js/store/languages/reducer.js
+++ b/server/sonar-web/src/main/js/store/languages/reducer.js
@@ -30,10 +30,6 @@ const reducer = (state = {}, action = {}) => {
export default reducer;
-export const getLanguages = state => (
- state
-);
+export const getLanguages = state => state;
-export const getLanguageByKey = (state, key) => (
- state[key]
-);
+export const getLanguageByKey = (state, key) => state[key];