From f6e90fdc19e222b3b238f0f5995a8039b7db158e Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 20 Apr 2017 11:10:13 +0200 Subject: upgrade prettier (#1954) --- server/sonar-web/src/main/js/apps/overview/actions.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/overview/actions.js') diff --git a/server/sonar-web/src/main/js/apps/overview/actions.js b/server/sonar-web/src/main/js/apps/overview/actions.js index 24e403ebb4e..892cea5e498 100644 --- a/server/sonar-web/src/main/js/apps/overview/actions.js +++ b/server/sonar-web/src/main/js/apps/overview/actions.js @@ -24,11 +24,10 @@ import { onFail } from '../../store/rootActions'; const PAGE_SIZE = 5; -export const fetchRecentProjectActivity = (project: string) => - (dispatch: Function) => - api - .getProjectActivity(project, { pageSize: PAGE_SIZE }) - .then( - ({ analyses, paging }) => dispatch(receiveProjectActivity(project, analyses, paging)), - onFail(dispatch) - ); +export const fetchRecentProjectActivity = (project: string) => (dispatch: Function) => + api + .getProjectActivity(project, { pageSize: PAGE_SIZE }) + .then( + ({ analyses, paging }) => dispatch(receiveProjectActivity(project, analyses, paging)), + onFail(dispatch) + ); -- cgit v1.2.3