From cf1306d2c436e3f6de3d1a1cdb3bd6f0f64f09b1 Mon Sep 17 00:00:00 2001 From: Yee Jia Wei Date: Sun, 17 Dec 2023 16:46:21 +0800 Subject: [PATCH] update collection action icons --- components/CollectionCard.tsx | 26 +++++++------------ .../ModalContent/DeleteCollectionModal.tsx | 24 ++--------------- .../ModalContent/EditCollectionModal.tsx | 13 +++------- .../EditCollectionSharingModal.tsx | 2 +- 4 files changed, 16 insertions(+), 49 deletions(-) diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index 97e0b63..f3615e2 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -1,10 +1,7 @@ -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faEllipsis, faGlobe, faLink } from "@fortawesome/free-solid-svg-icons"; import Link from "next/link"; import { CollectionIncludingMembersAndLinkCount } from "@/types/global"; -import { useEffect, useState } from "react"; +import React, { useEffect, useState } from "react"; import ProfilePhoto from "./ProfilePhoto"; -import { faCalendarDays } from "@fortawesome/free-regular-svg-icons"; import usePermissions from "@/hooks/usePermissions"; import useLocalSettingsStore from "@/store/localSettings"; import getPublicUserData from "@/lib/client/getPublicUserData"; @@ -71,9 +68,10 @@ export default function CollectionCard({ collection, className }: Props) { role="button" className="btn btn-ghost btn-sm btn-square text-neutral" > - + -