The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Add back button from bounty details page to the list page
Kiran K247c8d1f4691
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/page.tsxindex 9d5c5b3a9a..c5a6f98861 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/page.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/page.tsx@@ -2,17 +2,26 @@ import { PageContent } from "@/ui/layout/page-content";import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";import { ChevronRight } from "@dub/ui";import { Trophy } from "lucide-react";+import Link from "next/link";import { BountyInfo } from "./bounty-info";import { BountySubmissionsTable } from "./bounty-submissions-table";-export default function Page() {+export default function Page({ params }: { params: { slug: string } }) {+ const { slug } = params;+return (<PageContenttitle={<div className="flex items-center gap-1">- <div className="flex items-center justify-center rounded-lg bg-neutral-100 p-2">+ <Link+ href={`/${slug}/program/bounties`}+ aria-label="Back to bounties"+ title="Back to bounties"+ className="bg-bg-subtle hover:bg-bg-emphasis flex size-8 shrink-0 items-center justify-center rounded-lg transition-[transform,background-color] duration-150 active:scale-95"+ ><Trophy className="size-4" />- </div>+ </Link>+<div className="flex items-center gap-1.5"><ChevronRight className="text-content-subtle size-2.5 shrink-0 [&_*]:stroke-2" /><span className="text-lg font-semibold leading-7 text-neutral-900">