Skip to content

Commit

Permalink
refactor: clean up commented-out code in ProfilePage component for im…
Browse files Browse the repository at this point in the history
…proved readability
  • Loading branch information
tidvn committed Nov 19, 2024
1 parent 9afa3c1 commit 1be0438
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/app/(app)/dashboard/(profile)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ProfilePage() {
return (
<div className="py-8 px-10 m-auto flex flex-col">
<div className="rounded-xl p-6 bg-section shadow-md flex flex-col gap-3">
{/* <Tabs defaultValue="my-nfts" className="w-full">
<Tabs defaultValue="my-nfts" className="w-full">
<TabsList className="mb-4">
<TabsTrigger value="my-nfts">My NFTs (5)</TabsTrigger>
<TabsTrigger value="listings">Listings (1)</TabsTrigger>
Expand All @@ -21,9 +21,8 @@ export default function ProfilePage() {
<TabsTrigger value="offers">Offers</TabsTrigger>
<TabsTrigger value="creations">Creations (1)</TabsTrigger>
</TabsList>
</Tabs> */}

{/* <div className="flex items-center gap-4 mb-6">
</Tabs>
<div className="flex items-center gap-4 mb-6">
<Button variant="outline" size="icon" className="shrink-0">
<Filter className="h-4 w-4" />
<span className="sr-only">Filters</span>
Expand All @@ -36,8 +35,8 @@ export default function ProfilePage() {
Bulk list
</Button>
<Button className="shrink-0">Create Collection</Button>
</div> */}

</div>{" "}
*
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5 gap-4">
{listNft.map((data, index) => (
<AssetCard data={data} key={index} />
Expand Down

0 comments on commit 1be0438

Please sign in to comment.