Skip to content

Commit

Permalink
Fix priority handling
Browse files Browse the repository at this point in the history
  • Loading branch information
KaffinPX committed Jan 25, 2025
1 parent 3860e16 commit 672c7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Wallet/Send/Creation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export default function Creation ({ inputs, outputs, setTransactions }: {
<div className="flex flex-row items-center gap-1">
<div className="flex flex-col items-center">
<RabbitIcon size={12}/>
<p className="font-semibold">Priority {feeRate !== 1 ? `(${feeRate})` : ""}</p>
<p className="font-semibold">Priority {feeRate !== 1 ? `(${feeRate.toFixed(1)})` : ""}</p>
</div>
<form className="filter">
<input className="btn btn-xs btn-square" type="reset" value="×" onChange={handleFeeChange} />
<input className="btn btn-xs btn-square" type="reset" value="×" onClick={() => setFeeRate(1)} />
<input className="btn btn-xs btn-error" type="radio" name="fee" aria-label="Slow" onChange={handleFeeChange} />
<input className="btn btn-xs btn-warning" type="radio" name="fee" aria-label="Standard" onChange={handleFeeChange} />
<input className="btn btn-xs btn-success" type="radio" name="fee" aria-label="Fast" onChange={handleFeeChange} />
Expand Down

0 comments on commit 672c7e1

Please sign in to comment.