From b25f17509e704eb41523bf455a33804cabf8aaca Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 9 Feb 2024 02:17:45 +0000
Subject: [chore] Linting and formating tweaking

---
 packages/web/app/dashboard/bookmarks/components/LinkCard.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'packages/web/app/dashboard/bookmarks/components/LinkCard.tsx')

diff --git a/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx b/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
index 1cbd8865..aeef6bae 100644
--- a/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
+++ b/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
@@ -26,7 +26,7 @@ export function LinkOptions({ linkId }: { linkId: string }) {
   const router = useRouter();
 
   const unbookmarkLink = async () => {
-    let [_, error] = await APIClient.deleteBookmark(linkId);
+    const [_, error] = await APIClient.deleteBookmark(linkId);
 
     if (error) {
       toast({
@@ -51,7 +51,7 @@ export function LinkOptions({ linkId }: { linkId: string }) {
       </DropdownMenuTrigger>
       <DropdownMenuContent className="w-fit">
         <DropdownMenuItem className="text-destructive" onClick={unbookmarkLink}>
-          <Trash2 className="mr-2 h-4 w-4" />
+          <Trash2 className="mr-2 size-4" />
           <span>Delete</span>
         </DropdownMenuItem>
       </DropdownMenuContent>
@@ -66,7 +66,7 @@ export default function LinkCard({ bookmark }: { bookmark: ZBookmark }) {
   return (
     <ImageCard
       className={
-        "bg-gray-50 duration-300 ease-in border border-grey-100 hover:transition-all hover:border-blue-300"
+        "border-grey-100 border bg-gray-50 duration-300 ease-in hover:border-blue-300 hover:transition-all"
       }
       image={link?.imageUrl ?? undefined}
     >
@@ -75,7 +75,7 @@ export default function LinkCard({ bookmark }: { bookmark: ZBookmark }) {
           {link?.title ?? parsedUrl.host}
         </Link>
       </ImageCardTitle>
-      <ImageCardBody className="py-2 overflow-clip">
+      <ImageCardBody className="overflow-clip py-2">
         {bookmark.tags.map((t) => (
           <Badge
             variant="default"
-- 
cgit v1.2.3-70-g09d2

