diff --git a/src/soilId/soilIdSlice.ts b/src/soilId/soilIdSlice.ts index 7dd22f47..4f16f772 100644 --- a/src/soilId/soilIdSlice.ts +++ b/src/soilId/soilIdSlice.ts @@ -153,11 +153,11 @@ const soilIdSlice = createSlice({ state.projectSettings[action.meta.arg.projectId] = action.payload; }); - builder.addCase(fetchSoilDataForUser.fulfilled, (state) => { + builder.addCase(fetchSoilDataForUser.fulfilled, state => { state.loading = false; }); - builder.addCase(fetchSoilDataForUser.pending, (state) => { + builder.addCase(fetchSoilDataForUser.pending, state => { state.loading = true; }); },