Skip to content

Commit

Permalink
removed unsued functions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfears committed Oct 20, 2024
1 parent 02d1080 commit 7f343fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions site/src/routes/components/Assets/nftView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
</div>
{/if}
</TabItem>
<!--
<TabItem title="Mint">
<div class="flex flex-col gap-4">
<div>
Expand Down Expand Up @@ -308,5 +309,7 @@
{/if}
</div>
</TabItem>
-->
</Tabs>

</Card>
7 changes: 5 additions & 2 deletions site/src/routes/wallet/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@
<span>Send XLM</span>
</Card>
</button>

<button on:click={()=>{setView('viewNFT')}}>
<Card class="py-4 lg:px-12 min-h-[80px] justify-center" shadow >
NFT
</Card>
</button>
<!--
<button on:click={()=>{setView('token')}}>
<Card class="py-4 lg:px-12 min-h-[80px] justify-center" shadow>
Token
Expand All @@ -80,6 +82,7 @@
AirDrop
</Card>
</button>
-->
</div>

<div class="mt-2">
Expand All @@ -88,9 +91,9 @@
{:else if currentView == 'viewNFT'}
<NftView/>
{:else if currentView == 'token'}
<Token/>
<!--<Token/>-->
{:else if currentView == 'airDrop'}
<AirDrop />
<!--<AirDrop />-->
{/if}
</div>

Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/wallet/WalletHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
onMount(()=>{
iconSRC = getIdenticon($dataPacket.currentAddress);
callMetaStellar('fund')
callMetaStellar('fund', {})
});
let balance = $isTestnet? ($dataPacket).testnetXLMBalance : ($dataPacket).mainnetXLMBalance;
$: balance = $isTestnet? ($dataPacket).testnetXLMBalance : ($dataPacket).mainnetXLMBalance;
Expand Down

0 comments on commit 7f343fd

Please sign in to comment.