From 7dc2187fcdfee03ecc8527b29c86a64351be98b4 Mon Sep 17 00:00:00 2001 From: Aja Beckett Date: Mon, 23 Oct 2023 18:10:41 -0700 Subject: [PATCH] fix: remove parens --- src/soilId/soilIdSlice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }); },