From f119fc78dda4d1e828dde04f378a63a93e3a0a7e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 2 Jul 2020 18:39:28 +0200 Subject: Add current progress on frontend port --- frontend/src/actions/users.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'frontend/src/actions/users.js') diff --git a/frontend/src/actions/users.js b/frontend/src/actions/users.js index cae7e211..4868ac34 100644 --- a/frontend/src/actions/users.js +++ b/frontend/src/actions/users.js @@ -1,7 +1,5 @@ -export const FETCH_AUTHORIZATIONS_OF_CURRENT_USER = - 'FETCH_AUTHORIZATIONS_OF_CURRENT_USER' -export const FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED = - 'FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED' +export const FETCH_AUTHORIZATIONS_OF_CURRENT_USER = 'FETCH_AUTHORIZATIONS_OF_CURRENT_USER' +export const FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED = 'FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED' export const DELETE_CURRENT_USER = 'DELETE_CURRENT_USER' export const DELETE_CURRENT_USER_SUCCEEDED = 'DELETE_CURRENT_USER_SUCCEEDED' @@ -15,9 +13,7 @@ export function fetchAuthorizationsOfCurrentUser() { } } -export function fetchAuthorizationsOfCurrentUserSucceeded( - authorizationsOfCurrentUser, -) { +export function fetchAuthorizationsOfCurrentUserSucceeded(authorizationsOfCurrentUser) { return { type: FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED, authorizationsOfCurrentUser, -- cgit v1.2.3