Skip to content

Commit

Permalink
Fix reloading sprints after creating a sprint (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianruesch authored Dec 3, 2023
1 parent 6d3ee25 commit 7f197a5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export function CreateSprintModal({
message: `The sprint has been created!`,
color: "green",
})
queryClient.invalidateQueries({ queryKey: ["sprints"] })
queryClient.invalidateQueries({ queryKey: ["issues", "sprints"] })
setOpened(false)
form.reset()
Expand Down

0 comments on commit 7f197a5

Please sign in to comment.