Skip to content

Commit

Permalink
tweak code submit button text state
Browse files Browse the repository at this point in the history
  • Loading branch information
merklejerk committed Jun 15, 2024
1 parent c11750d commit 1227a8f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/routes/(app)/player/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,8 @@
aria-busy={submittingCodeState instanceof Promise}
disabled={submittingCodeState instanceof Promise}
>
{#if submittingCodeState
&& (!(submittingCodeState instanceof Promise)
|| (
typeof(submittingCodeState) === 'string'
&& submittingCodeState !== '0x'
))}
{#if typeof(submittingCodeState) === 'string'
&& submittingCodeState !== '0x'}
Code Submitted!
{:else}
Submit Code
Expand Down

0 comments on commit 1227a8f

Please sign in to comment.