mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 03:43:28 +10:00
Add log.duck.js to ducks index.js file
Also remove unused parameter from logError thunk function.
This commit is contained in:
parent
3c4f20f2ad
commit
3a4e420ea4
2 changed files with 3 additions and 4 deletions
|
|
@ -12,6 +12,7 @@ import UI from './UI.duck';
|
|||
import marketplaceData from './marketplaceData.duck';
|
||||
import user from './user.duck';
|
||||
import EmailVerification from './EmailVerification.duck';
|
||||
import log from './log.duck';
|
||||
|
||||
export {
|
||||
form,
|
||||
|
|
@ -22,4 +23,5 @@ export {
|
|||
marketplaceData,
|
||||
user,
|
||||
EmailVerification,
|
||||
log,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,4 @@ import * as log from '../util/log';
|
|||
|
||||
// ================ Thunks ================ //
|
||||
|
||||
export const logError = (error, data) =>
|
||||
(dispatch, getState, sdk) => {
|
||||
log.error(error, data);
|
||||
};
|
||||
export const logError = (error, data) => () => log.error(error, data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue