Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Tweaks

Tim Wilsonb090a67752a0
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.tsx
index 92a3cb5710..3ad8a8b005 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,3 +1,4 @@
+import { mutatePrefix } from "@/lib/swr/mutate";
import useWorkspace from "@/lib/swr/use-workspace";
import { BountyProps } from "@/lib/types";
import {
@@ -134,6 +135,7 @@ function BountySheetContent({ setIsOpen }: BountySheetProps) {
method: "POST",
body: data,
onSuccess: () => {
+ mutatePrefix("/api/bounties");
setIsOpen(false);
toast.success("Bounty created successfully!");
},
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx
index 10b30e1159..0645369fb1 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/bounty-card.tsx
@@ -64,7 +64,7 @@ export function BountyCard({ bounty }: { bounty: BountyProps }) {
export const BountyCardSkeleton = () => {
return (
- <ProgramOverviewCard className="cursor-pointer p-5 transition-shadow hover:shadow-lg">
+ <ProgramOverviewCard className="cursor-pointer p-5">
<div className="flex flex-col gap-5">
<div className="flex h-[132px] animate-pulse items-center justify-center rounded-lg bg-neutral-100 px-32 py-4" />