link ikona zamijenjena sa share ikonom

This commit is contained in:
2024-12-14 09:01:09 +01:00
parent 4206b5c162
commit 74a9229ffa

View File

@@ -1,6 +1,6 @@
'use client'; 'use client';
import { Cog8ToothIcon, PlusCircleIcon, LinkIcon } from "@heroicons/react/24/outline"; import { Cog8ToothIcon, PlusCircleIcon, ShareIcon } from "@heroicons/react/24/outline";
import { FC } from "react"; import { FC } from "react";
import { BillBadge } from "./BillBadge"; import { BillBadge } from "./BillBadge";
import { BillingLocation } from "../lib/db-types"; import { BillingLocation } from "../lib/db-types";
@@ -54,7 +54,7 @@ export const LocationCard:FC<LocationCardProps> = ({location: { _id, name, yearM
: null : null
} }
<LinkIcon className="h-[1em] w-[1em] cursor-pointer text-2xl inline-block hover:text-red-500" title="create sharable link" style={{ position: "absolute", bottom: ".5em", right: "1.2em" }} onClick={handleCopyLinkClick} /> <ShareIcon className="h-[1em] w-[1em] cursor-pointer text-2xl inline-block hover:text-red-500" title="create sharable link" style={{ position: "absolute", bottom: ".5em", right: "1.2em" }} onClick={handleCopyLinkClick} />
</div> </div>
</div>); </div>);
}; };