The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update add-edit-bounty-sheet.tsx
Kiran Kc4c18d94458e
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsxindex a7d9678be0..48f4ca2852 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx@@ -1,5 +1,6 @@import { isCurrencyAttribute } from "@/lib/api/workflows/utils";import { mutatePrefix } from "@/lib/swr/mutate";+import { useApiMutation } from "@/lib/swr/use-api-mutation";import useWorkspace from "@/lib/swr/use-workspace";import {BountyExtendedProps,@@ -21,7 +22,6 @@ import {} from "@/ui/partners/program-sheet-accordion";import { AmountInput } from "@/ui/shared/amount-input";import { X } from "@/ui/shared/icons";-import { useApiMutation } from "@/ui/shared/use-api-mutation";import {AnimatedSizeContainer,Button,@@ -244,9 +244,6 @@ function BountySheetContent({ setIsOpen, bounty }: BountySheetProps) {setIsOpen(false);toast.success(`Bounty ${bounty ? "updated" : "created"} successfully!`);},- onError: (message) => {- toast.error(message);- },});};