The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update help button icons
Tim Wilsonda6880a7f06d
diff --git a/apps/web/ui/layout/sidebar/help-button.tsx b/apps/web/ui/layout/sidebar/help-button.tsxindex 96b258f408..9fd540cb41 100644--- a/apps/web/ui/layout/sidebar/help-button.tsx+++ b/apps/web/ui/layout/sidebar/help-button.tsx@@ -1,9 +1,9 @@"use client";-import { Popover } from "@dub/ui";+import { X } from "@/ui/shared/icons";+import { CircleQuestion, Popover } from "@dub/ui";import { cn } from "@dub/utils";import { AnimatePresence, motion } from "framer-motion";-import { CircleHelp, XIcon } from "lucide-react";import posthog from "posthog-js";import { useState } from "react";import { HelpArticle, HelpContext } from "../help";@@ -61,12 +61,12 @@ export function HelpButton({exit={{ opacity: 0, scale: 0 }}>{isOpen ? (- <XIcon+ <XclassName={variant === "old" ? "size-4" : "size-5"}strokeWidth={2}/>) : (- <CircleHelp+ <CircleQuestionclassName={variant === "old" ? "size-4" : "size-5"}/>)}diff --git a/apps/web/ui/shared/icons/x.tsx b/apps/web/ui/shared/icons/x.tsxindex 8428a4cc26..a6b769a4ca 100644--- a/apps/web/ui/shared/icons/x.tsx+++ b/apps/web/ui/shared/icons/x.tsx@@ -1,4 +1,6 @@-export default function X({ className }: { className: string }) {+import { SVGProps } from "react";++export default function X(props: SVGProps<SVGSVGElement>) {return (<svgfill="none"@@ -10,7 +12,7 @@ export default function X({ className }: { className: string }) {viewBox="0 0 24 24"width="14"height="14"- className={className}+ {...props}><path d="M18 6L6 18" /><path d="M6 6l12 12" />