Skip to content

Commit 86d1a6d

Browse files
authored
Merge pull request #22 from vijayg10/fix/error-message-visibility
fix: reset user roles error message when success
2 parents bb2e928 + 1b40bef commit 86d1a6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App/UserProfile/slice.ts

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const slice = createSlice({
9797
...state.userProfile!,
9898
assignedRoles: action.payload,
9999
},
100+
userProfileRolesError: initialState.userProfileRolesError,
100101
};
101102
},
102103
setUserProfileRolesError(state: UserProfileState, action: PayloadAction<string>) {

0 commit comments

Comments
 (0)