The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update mutatePrefix
Steven Tey3d0ba0d8ccc4
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsxindex bcde7c9a0b..420ae86502 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx@@ -57,7 +57,7 @@ function BountySubmissionDetailsSheetContent({onSuccess: async () => {toast.success("Bounty submission approved successfully!");onNext ? onNext() : setIsOpen(false);- await mutatePrefix("/api/bounties");+ await mutatePrefix(`/api/bounties/${bounty?.id}/submissions`);},onError({ error }) {toast.error(error.serverError);