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.

fixed the weirdest bug in history

Steven Tey990471e304f6
diff --git a/components/shared/icons/index.tsx b/components/shared/icons/index.tsx
index e86e71101c..f7529f4fd2 100644
--- a/components/shared/icons/index.tsx
+++ b/components/shared/icons/index.tsx
@@ -14,7 +14,7 @@ export { default as ExternalLink } from "./external-link";
export { default as XCircleFill } from "./x-circle-fill";
export { default as CheckCircleFill } from "./check-circle-fill";
export { default as Link } from "./link";
-export { default as Infinity } from "./infinity";
+export { default as InfinityIcon } from "./infinity";
export { default as Drag } from "./drag";
export { default as Airplay } from "./airplay";
export { default as UploadCloud } from "./upload-cloud";
diff --git a/pages/app/[slug]/settings/billing.tsx b/pages/app/[slug]/settings/billing.tsx
index da63bb506e..cc51c28ff4 100644
--- a/pages/app/[slug]/settings/billing.tsx
+++ b/pages/app/[slug]/settings/billing.tsx
@@ -2,7 +2,7 @@ import SettingsLayout from "@/components/layout/app/settings-layout";
import { useRouter } from "next/router";
import { useContext, useEffect, useMemo, useState } from "react";
import { motion } from "framer-motion";
-import { Infinity, Divider } from "@/components/shared/icons";
+import { InfinityIcon, Divider } from "@/components/shared/icons";
import { InfoTooltip } from "#/ui/tooltip";
import { fetcher, getFirstAndLastDay, nFormatter } from "#/lib/utils";
import useProject from "#/lib/swr/use-project";
@@ -101,7 +101,7 @@ export default function ProjectBilling() {
<div className="h-8 w-8 animate-pulse rounded-md bg-gray-200" />
)}
<Divider className="h-8 w-8 text-gray-500" />
- <Infinity className="h-8 w-8 text-gray-500" />
+ <InfinityIcon className="h-8 w-8 text-gray-500" />
</div>
) : (
<div className="mt-2 flex flex-col space-y-2">
@@ -152,7 +152,7 @@ export default function ProjectBilling() {
<div className="h-8 w-8 animate-pulse rounded-md bg-gray-200" />
)}
<Divider className="h-8 w-8 text-gray-500" />
- <Infinity className="h-8 w-8 text-gray-500" />
+ <InfinityIcon className="h-8 w-8 text-gray-500" />
</div>
</div>
</div>