Skip to content

Commit

Permalink
fix: add fulfilled state (#144)
Browse files Browse the repository at this point in the history
I deleted this by mistake yesterday.
  • Loading branch information
ajabeckett authored Oct 24, 2023
1 parent d577669 commit d4e464b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/soilId/soilIdSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ const soilIdSlice = createSlice({
builder.addCase(fetchSoilDataForUser.rejected, state => {
state.loading = false;
});

builder.addCase(fetchSoilDataForUser.fulfilled, state => {
state.loading = false;
});
},
});

Expand Down

0 comments on commit d4e464b

Please sign in to comment.