The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
convert svg and heavier components to client components
Steven Teydaab48a670a7
diff --git a/app/ui/icons/expanding-arrow.tsx b/app/ui/icons/expanding-arrow.tsxindex 819fd74890..d3d7e5e371 100644--- a/app/ui/icons/expanding-arrow.tsx+++ b/app/ui/icons/expanding-arrow.tsx@@ -1,3 +1,5 @@+"use client";+export default function ExpandingArrow({ className }: { className?: string }) {return (<div className="group relative flex items-center">diff --git a/components/shared/background/index.tsx b/components/shared/background/index.tsxindex 56185558f0..80234d8b28 100644--- a/components/shared/background/index.tsx+++ b/components/shared/background/index.tsx@@ -1,3 +1,5 @@+"use client";+import styles from "./background.module.css";export default function Background() {diff --git a/components/shared/icons/drag.tsx b/components/shared/icons/drag.tsxindex 5277a14504..5867fa69df 100644--- a/components/shared/icons/drag.tsx+++ b/components/shared/icons/drag.tsx@@ -1,3 +1,5 @@+"use client";+export default function Drag({ className }: { className: string }) {return (<svgdiff --git a/components/shared/icons/github.tsx b/components/shared/icons/github.tsxindex ff13f3937a..c5df8f1bc3 100644--- a/components/shared/icons/github.tsx+++ b/components/shared/icons/github.tsx@@ -1,3 +1,5 @@+"use client";+export default function Github({ className }: { className?: string }) {return (<svgdiff --git a/components/shared/icons/twitter.tsx b/components/shared/icons/twitter.tsxindex 693309df35..c31207823e 100644--- a/components/shared/icons/twitter.tsx+++ b/components/shared/icons/twitter.tsx@@ -1,3 +1,5 @@+"use client";+export default function Twitter({ className }: { className?: string }) {return (<svg