Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Oct 12, 2023
1 parent c6fdc2e commit 31e2d56
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/shared-ui/ZenQuestCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ export default function ZenQuestCard(props: ZenQuestCardProps) {
mutate({ id: props.id }, {
onSuccess: () => {
const ctx = api.useContext()
const invalidateListQuest = async() => await ctx.quest.list.reset({
filter: props.selectedFilter,
take: 20
})
const invalidateListQuest = async() => await ctx.quest.list.reset()
void invalidateListQuest()
// refresh
}
Expand Down

0 comments on commit 31e2d56

Please sign in to comment.