The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Add country icon+name
Tim Wilson808f063b3e73
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsxindex 0ca4c31102..87db70dd38 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx@@ -19,6 +19,7 @@ import {OfficeBuilding,} from "@dub/ui/src/icons";import {+ COUNTRIES,currencyFormatter,DICEBEAR_AVATAR_URL,fetcher,@@ -124,7 +125,21 @@ export function PartnerTable({ programId }: { programId: string }) {},{header: "Location",- accessorKey: "country",+ cell: ({ row }) => {+ const country = row.original.country;+ return (+ <div className="flex items-center gap-2">+ {country && (+ <img+ alt=""+ src={`https://flag.vercel.app/m/${country}.svg`}+ className="h-3 w-4"+ />+ )}+ {(country ? COUNTRIES[country] : null) ?? "-"}+ </div>+ );+ },},{header: "Conversions",