From bf1ff47d3e66948d7242ee4bcfc920c4a5a8d975 Mon Sep 17 00:00:00 2001 From: gosangam Date: Sun, 10 May 2026 01:02:15 +0530 Subject: [PATCH] text select more options update --- components/selection-toolbar/more-popover.tsx | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/components/selection-toolbar/more-popover.tsx b/components/selection-toolbar/more-popover.tsx index 2b2e8c84..3c3fbe8f 100644 --- a/components/selection-toolbar/more-popover.tsx +++ b/components/selection-toolbar/more-popover.tsx @@ -1,11 +1,9 @@ "use client"; -import { useState, useEffect, useRef } from "react"; +import { useEffect, useRef } from "react"; import { createPortal } from "react-dom"; import { useCopyFeedback, type Position } from "./shared"; -import { buildHighlightUrl } from "@/lib/text-highlight"; -import { cn } from "@/lib/utils"; -import { Bookmark, FolderPlus, Link2, AtSign, Check } from "lucide-react"; +import { Bookmark, FolderPlus, AtSign } from "lucide-react"; import { Drawer, DrawerClose, @@ -69,17 +67,6 @@ export function MorePopover({ icon: , onClick: onSaveToCollection, }, - { - key: "copy-link", - label: copied ? "Link Copied!" : "Copy Link", - description: "Copy a link to this page", - icon: copied ? ( - - ) : ( - - ), - onClick: () => copy(buildHighlightUrl(selectedText)), - }, { key: "mention", label: "Mention",