Skip to content

Commit

Permalink
Fix disappering applications after assessment
Browse files Browse the repository at this point in the history
  • Loading branch information
airelawaleria committed Jul 24, 2023
1 parent 9a080ac commit dcb3e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/redux/applicationsSlice/applicationsSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ export const applicationsState = createSlice({
builder.addCase(updateDeveloperApplicationAssessment.fulfilled, (state, { payload }) => {
state.developerApplications = state.developerApplications.map((application) =>
application.id === payload.id
? payload
: { ...application, type: ApplicationType.DEVELOPER },
? { ...payload, type: ApplicationType.DEVELOPER }
: application,
)
state.status = 'idle'
})
Expand Down

0 comments on commit dcb3e6a

Please sign in to comment.