From 00609b5d29834cff039e8ee6a550aa1aedd015b9 Mon Sep 17 00:00:00 2001 From: Harry Yu Date: Fri, 26 Apr 2024 05:15:44 -0400 Subject: [PATCH] directly modified @crxjs/vite-plugin in node_modules/ to stop vite from capturing /_favicon/ request https://github.com/crxjs/chrome-extension-tools/issues/618 --- src/components/ListItem.tsx | 10 +++++++--- src/components/SearchingList.tsx | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/ListItem.tsx b/src/components/ListItem.tsx index 0ec20fd..8276569 100644 --- a/src/components/ListItem.tsx +++ b/src/components/ListItem.tsx @@ -1,7 +1,6 @@ import { Badge } from "@/components/ui/badge"; -import { capitalizeFirstLetter, cn } from "@/lib/utils"; +import { capitalizeFirstLetter, cn, faviconURL } from "@/lib/utils"; import { CommandItem } from "./ui/command"; -import { FaBookmark } from "react-icons/fa6"; import { IconType } from "react-icons"; interface BookmarkItem { @@ -84,7 +83,12 @@ const ListItem = ({ {type === "command" ? ( ) : type === "bookmark" ? ( - + // + {`${item.title}-favicon`} ) : ( { label="BookTab" value={currentItem} onValueChange={setCurrentItem} + disablePointerSelection + vimBindings >