Skip to content

Commit

Permalink
Small fix to NFTCard UI
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 22, 2024
1 parent e2b48ea commit 1df96dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nextjs/app/myProfile/_components/NFTCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ export const NFTCard = ({ nft }: { nft: Collectible }) => {

{/* Tabs navigation */}
{!isCollapsed && (
<div className="tabs flex justify-center gap-3">
<div className="tabs flex justify-center gap-3 border-b-4 border-base-200">
<a
className={`tab ${activeTab === "details" ? "bg-blue-300 dark:bg-blue-900" : ""}`}
className={`tab ${activeTab === "details" ? "bg-blue-900 text-white" : ""}`}
onClick={() => setActiveTab("details")}
>
Details
</a>
{connectedAddress === nft.owner && (
<a
className={`tab ${activeTab === "sellNFT" ? "bg-red-300 dark:bg-red-800" : ""}`}
className={`tab ${activeTab === "sellNFT" ? "bg-red-800 text-white" : ""}`}
onClick={() => setActiveTab("sellNFT")}
>
Sell NFT
Expand Down

0 comments on commit 1df96dc

Please sign in to comment.