Make custom denom placeholder more helpful

This commit is contained in:
abefernan
2023-06-22 09:39:49 +02:00
parent a1cb013dd3
commit 06aa02bca9
@@ -167,7 +167,9 @@ const MsgSendForm = ({ fromAddress, setMsgGetter, deleteMsg }: MsgSendFormProps)
name="custom-denom"
value={customDenom}
onChange={({ target }) => setCustomDenom(target.value)}
placeholder="Select Custom denom above"
placeholder={
selectedDenom.value === "custom" ? "Enter custom denom" : "Select Custom denom above"
}
disabled={selectedDenom.value !== "custom"}
error={customDenomError}
/>