Skip to content

Commit

Permalink
chore: Set local gde state to empty on sucsessfull add row.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Oct 17, 2024
1 parent 05089e8 commit 6b2b1a2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ export const GrossDepositionEnviromentGroup = ({
id: id,
requestBody: postRequestBody,
});
if (rowUpload.success) handleGdeDialog();
if (rowUpload.success) {
setGdeObject(defaultGdeData);
handleGdeDialog();
}
}
};

Expand Down

0 comments on commit 6b2b1a2

Please sign in to comment.