Skip to content

Commit

Permalink
fix: remove unused actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ajabeckett committed Oct 24, 2023
1 parent f6c15bb commit ad93315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soilId/soilIdSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ const soilIdSlice = createSlice({
state.projectSettings[action.meta.arg.projectId] = action.payload;
});

builder.addCase(fetchSoilDataForUser.fulfilled, (state, action) => {
builder.addCase(fetchSoilDataForUser.fulfilled, (state) => {

Check failure on line 156 in src/soilId/soilIdSlice.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `(state)` with `state`
state.loading = false;
});

builder.addCase(fetchSoilDataForUser.pending, (state, action) => {
builder.addCase(fetchSoilDataForUser.pending, (state) => {

Check failure on line 160 in src/soilId/soilIdSlice.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `(state)` with `state`
state.loading = true;
});
},
Expand Down

0 comments on commit ad93315

Please sign in to comment.