Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
frontend/src/components/stream-creation/AmountStep.tsx has a handleAmountChange whose precision-validation branch is an empty block containing only comments:
if (newValue && !hasValidPrecision(newValue, 7)) {
// Parent component should handle this error
// This validation can be used to show inline error if needed
}
It does nothing — hasValidPrecision is called and the result discarded. Either wire it to surface an inline error, or drop the dead branch (and the now-unused hasValidPrecision import).
Acceptance criteria
Files to touch
frontend/src/components/stream-creation/AmountStep.tsx
Out of scope
- The wizard's step-level validation in StreamCreationWizard.
Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
frontend/src/components/stream-creation/AmountStep.tsxhas ahandleAmountChangewhose precision-validation branch is an empty block containing only comments:It does nothing —
hasValidPrecisionis called and the result discarded. Either wire it to surface an inline error, or drop the dead branch (and the now-unusedhasValidPrecisionimport).Acceptance criteria
ifblock (and unused import) OR implement the inline precision errorFiles to touch
frontend/src/components/stream-creation/AmountStep.tsxOut of scope