feat: add tests and fix bugs

This commit is contained in:
Zainab Amir
2022-12-06 14:26:05 +05:00
committed by Zainab Amir
parent 85fbc54384
commit ed0da96076
12 changed files with 281 additions and 113 deletions

View File

@@ -26,7 +26,7 @@ const reducer = (state = defaultState, action) => {
case THIRD_PARTY_AUTH_CONTEXT.SUCCESS:
return {
...state,
extendedProfile: action.payload.fieldDescriptions.extendedProfile,
extendedProfile: action.payload.fieldDescriptions.extended_profile,
fieldDescriptions: action.payload.fieldDescriptions.fields,
optionalFields: action.payload.optionalFields,
thirdPartyAuthContext: action.payload.thirdPartyAuthContext,