Skip to content

Commit

Permalink
Add placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
apporc committed Jun 25, 2024
1 parent e618037 commit 14c661a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/pages/earn/step/bootstrap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
focus
fluid
name="amount"
placeholder={amount}
placeholder={`Enter amount of tokens`}
balance={availableTokens}
on:changed={onAmountChanged}
/>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/earn/step/stake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<ProgressBar step={1} />
</div>
<div class="middle-section">
<Form>
<Form on:submit={onConfirm}>
<InputLabel>amount to stake</InputLabel>
<div class="token-selector">
<TokenSelector defaultToken={token} {tokenOptions} onTokenSelect={() => {}} />
Expand All @@ -95,7 +95,7 @@
focus
fluid
name="amount"
placeholder={amount}
placeholder={`Enter amount of tokens`}
balance={availableTokens}
on:changed={onAmountChanged}
/>
Expand All @@ -106,7 +106,7 @@
fluid
style="primary"
size="large"
disabled={false}
disabled={!amountValid}
formValidation
on:action={onConfirm}
>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/earn/step/unstake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<ProgressBar step={1} />
</div>
<div class="middle-section">
<Form>
<Form on:submit={onConfirm}>
<InputLabel>amount to unstake</InputLabel>
<div class="token-selector">
<TokenSelector
Expand All @@ -105,7 +105,7 @@
focus
fluid
name="amount"
placeholder={amount}
placeholder={`Enter amount of tokens`}
balance={availableTokens}
on:changed={onAmountChanged}
/>
Expand All @@ -116,7 +116,7 @@
fluid
style="primary"
size="large"
disabled={false}
disabled={!amountValid}
formValidation
on:action={onConfirm}
>
Expand Down

0 comments on commit 14c661a

Please sign in to comment.