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.

Update index.tsx

Tim Wilson57ebcd6c567c
diff --git a/apps/web/ui/layout/user-survey/index.tsx b/apps/web/ui/layout/user-survey/index.tsx
index cbc4da3aa3..a02f5e64f8 100644
--- a/apps/web/ui/layout/user-survey/index.tsx
+++ b/apps/web/ui/layout/user-survey/index.tsx
@@ -5,7 +5,7 @@ import { AnimatedSizeContainer, ClientOnly, Popover } from "@dub/ui";
import { cn } from "@dub/utils";
import { AnimatePresence, motion } from "framer-motion";
import Cookies from "js-cookie";
-import { CircleHelp, X } from "lucide-react";
+import { X } from "lucide-react";
import { useSession } from "next-auth/react";
import { createContext, useCallback, useState } from "react";
import { toast } from "sonner";
@@ -17,6 +17,7 @@ export const UserSurveyContext = createContext<{ status: UserSurveyStatus }>({
status: "idle",
});
+// Used to be a popup, now maintaining the same cookie ID
const HIDDEN_COOKIE_ID = "hideUserSurveyPopup";
export default function UserSurveyButton() {
@@ -52,7 +53,6 @@ export default function UserSurveyButton() {
"outline-none focus-visible:ring-2 focus-visible:ring-black/50",
)}
>
- <CircleHelp className="mr-1 mt-0.5 size-3" />
Where did you hear about Dub?
</button>
</Popover>