Skip to content

Commit

Permalink
Reduced a few more lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
kirksgithub committed Oct 16, 2023
1 parent 8da4cd4 commit f865635
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/DepositTokensButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ export const DepositTokensButton = ({
type="number"
label="Amount to deposit"
value={amount}
onChange={(e) => {
const inputValue = e.target.value;
setAmount(inputValue);
}}
onChange={(e) => { setAmount(e.target.value) }}
max={humanReadableMax}
/>
<Button
Expand Down

0 comments on commit f865635

Please sign in to comment.