Skip to content

Commit

Permalink
invalidates features cache after deleting scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Nov 16, 2023
1 parent 51c3f22 commit 4e49645
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export const ScenariosList: React.FC = () => {
}
);
await queryClient.invalidateQueries(['scenarios', pid]);
await queryClient.invalidateQueries(['all-features', pid]);
setDelete(null);
},
onError: () => {
Expand Down

0 comments on commit 4e49645

Please sign in to comment.