Skip to content

Commit 58ac4ae

Browse files
Merge pull request #994 from topcoder-platform/PM-505
PM-505 Fix QA feedback
2 parents 9fac945 + 48a3b1a commit 58ac4ae

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/apps/onboarding/src/components/InputTextAutoSave/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const InputTextAutoSave: FC<InputTextProps> = (props: InputTextProps) => {
3737
<InputText
3838
{...props}
3939
value={value}
40+
forceUpdateValue
4041
onChange={function onChange(event: FocusEvent<HTMLInputElement>) {
4142
setValue(event.target.value)
4243
}}

src/apps/onboarding/src/redux/reducers/member.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const initialState: {
2020
connectInfo?: ConnectInfo
2121
loadingMemberTraits?: boolean
2222
loadingMemberInfo?: boolean
23-
availableForGigs?: boolean
2423
} = {
2524
}
2625

@@ -40,7 +39,10 @@ const memberReducer: any = (
4039
case ACTIONS.MEMBER.SET_OPEN_FOR_WORK:
4140
return {
4241
...state,
43-
availableForGigs: action.payload,
42+
memberInfo: {
43+
...state.memberInfo,
44+
availableForGigs: action.payload,
45+
},
4446
}
4547
case ACTIONS.MEMBER.SET_WORKS:
4648
return {

0 commit comments

Comments
 (0)