Skip to content

Commit

Permalink
fix(FARMSTACK-35): removed unnecessary state update for categories wh…
Browse files Browse the repository at this point in the history
…ich leads to sending empty array.
  • Loading branch information
sohitkumar committed Oct 25, 2024
1 parent b87acd9 commit 87ba8fd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,6 @@ const AddDataSet = (props) => {
});
setStandardisedFiles(tempStandardisedFiles);

setCategorises(response?.data?.categories);

const updateSubCategoryIds = () => {
const ids = new Set(
response?.data?.categories?.flatMap((category) =>
Expand Down

0 comments on commit 87ba8fd

Please sign in to comment.