Skip to content

Commit

Permalink
Merge branch 'main' into 1477-inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki authored Oct 11, 2024
2 parents 80f7eea + c781da0 commit 0186057
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function CommodityForm<
await postSuccess?.(mutationEffectResponse, isEdit).catch((err) => {
sendErrorNotification(err.message);
});
queryClient.refetchQueries([groupResourceType]).catch(() => {
queryClient.invalidateQueries([groupResourceType]).catch(() => {
sendInfoNotification(t('Failed to refresh data, please refresh the page'));
});
goTo(successUrl);
Expand Down

0 comments on commit 0186057

Please sign in to comment.