From 31e2d56e84bb17e759011cb49462bec59866079e Mon Sep 17 00:00:00 2001 From: bensigo Date: Thu, 12 Oct 2023 04:40:16 +0400 Subject: [PATCH] fix: update --- src/shared-ui/ZenQuestCard/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/shared-ui/ZenQuestCard/index.tsx b/src/shared-ui/ZenQuestCard/index.tsx index ae25fcc..85d1093 100644 --- a/src/shared-ui/ZenQuestCard/index.tsx +++ b/src/shared-ui/ZenQuestCard/index.tsx @@ -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 }