Skip to content

Commit

Permalink
fix(invest-round): correct widget states
Browse files Browse the repository at this point in the history
Update for correct logic of the target possible widget states.

fix #1863
  • Loading branch information
migbash committed Dec 17, 2023
1 parent 7837e47 commit 9622582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/page/profile/investor/Main-Round.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@
m-t-5
"
>
{#if widgetState == 'CountdownWithDefinedDate'}
{#if ['ToBeAnnounced', 'CountdownWithDefinedDate'].includes(widgetState)}
Presale starts in
{:else}
{:else if widgetState == 'CountdownToFinish'}
Presale ends in
{/if}
</span>
Expand Down

0 comments on commit 9622582

Please sign in to comment.