From ad3d27e9274b2688da45645664b9abd29ce2fdd7 Mon Sep 17 00:00:00 2001 From: apane Date: Wed, 20 Nov 2019 10:38:09 -0300 Subject: [PATCH] Adds action --- .../cookies/store/actions/setCookiesPermissions.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/logic/cookies/store/actions/setCookiesPermissions.js diff --git a/src/logic/cookies/store/actions/setCookiesPermissions.js b/src/logic/cookies/store/actions/setCookiesPermissions.js new file mode 100644 index 00000000..edeab5d8 --- /dev/null +++ b/src/logic/cookies/store/actions/setCookiesPermissions.js @@ -0,0 +1,10 @@ +// @flow +import { Map } from 'immutable' +import { createAction } from 'redux-actions' +import type { Cookie, CookiesProps } from '~/logic/cookies/store/model/cookie' + +export const SET_COOKIES_PERMISSIONS = 'SET_COOKIES_PERMISSIONS' + + +// eslint-disable-next-line max-len +export const setCookiesPermissions = createAction(SET_COOKIES_PERMISSIONS, (cookies: Map): CookiesProps => cookies)