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.

final fixes

Steven Tey41cc71e5efa4
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index 6905d37bdf..56bb168692 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -252,6 +252,23 @@ export default function Toggle({
}),
) ?? null,
},
+ {
+ key: "root",
+ icon: Sliders,
+ label: "Link type",
+ options: [
+ {
+ value: true,
+ icon: Globe,
+ label: "Root domain link",
+ },
+ {
+ value: false,
+ icon: Hyperlink,
+ label: "Regular short link",
+ },
+ ],
+ },
{
key: "tagId",
icon: Tag,
@@ -306,23 +323,6 @@ export default function Toggle({
icon: QRCode,
},
],
- },
- {
- key: "root",
- icon: Sliders,
- label: "Link type",
- options: [
- {
- value: true,
- icon: Globe,
- label: "Root domain link",
- },
- {
- value: false,
- icon: Hyperlink,
- label: "Short link",
- },
- ],
separatorAfter: !isPublicStatsPage,
},
{