cnap-cobre/synapse

View on GitHub
frontend/src/store/userProfile/UserProfile.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export const actions = {
ifNeeded: () => createAction(types.GET_USER_PROFILE_ASYNC.IF_NEEDED),
pending: () => createAction(types.GET_USER_PROFILE_ASYNC.PENDING),
success: userProfile => createAction(types.GET_USER_PROFILE_ASYNC.SUCCESS, { userProfile }),
error: error => createAction(types.GET_USER_PROFILE_ASYNC.ERROR, { error }),
Severity: Major
Found in frontend/src/store/userProfile/UserProfile.js and 1 other location - About 1 hr to fix
frontend/src/store/agaveFileSystems/AgaveFileSystems.js on lines 4..9
Category
Status