Skip to content

Commit

Permalink
Portfolio: update "New Portfolio" button
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylyeo committed Apr 27, 2023
1 parent 100ee3b commit 5e1a16f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/routes/portfolio/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@
{/each}
{#if $localPortfolios[$localPortfolios.length - 1]?.accounts.length}
<button on:click={() => addPortfolio()}>+ Create Another Portfolio</button>
<div class="align-end">
<button
data-before="+"
on:click={() => addPortfolio()}
>New Portfolio</button>
</div>
{/if}
{:else}
Please enable LocalStorage in your browser.
Expand Down

0 comments on commit 5e1a16f

Please sign in to comment.