Skip to content

Commit

Permalink
Merge pull request #293 from meta-light/dev
Browse files Browse the repository at this point in the history
Stop burnt cNFTs from displaying in Assets page
  • Loading branch information
0xIchigo authored Apr 7, 2024
2 parents 3032880 + 39cd0dc commit 6a231ca
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/routes/account/[account]/assets/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
//@ts-nocheck
import { trpcWithQuery } from "$lib/trpc/client";
import { page } from "$app/stores";
import Image from "$lib/components/image.svelte";
Expand Down Expand Up @@ -41,17 +40,17 @@
(file) => file.mime.startsWith("image") && file.uri
)}

<a
href="/token/{asset.id}?network={isMainnetValue
? 'mainnet'
: 'devnet'}"
>
<Image
src={image?.uri}
className="aspect-square w-full rounded-lg"
alt=""
/>
</a>
{#if asset.burnt !== true}
<a
href="/token/{asset.id}?network={isMainnetValue ? 'mainnet' : 'devnet'}"
>
<Image
src={image?.uri}
className="aspect-square w-full rounded-lg"
alt=""
/>
</a>
{/if}
{/each}
{/each}
</div>
Expand Down

0 comments on commit 6a231ca

Please sign in to comment.