diff --git a/src/soilId/soilIdSlice.ts b/src/soilId/soilIdSlice.ts index 6afae886..9c943168 100644 --- a/src/soilId/soilIdSlice.ts +++ b/src/soilId/soilIdSlice.ts @@ -160,6 +160,10 @@ const soilIdSlice = createSlice({ builder.addCase(fetchSoilDataForUser.rejected, state => { state.loading = false; }); + + builder.addCase(fetchSoilDataForUser.fulfilled, state => { + state.loading = false; + }); }, });