- {showNameField() && (
-
-
{
- setUserName(e.target.value);
- }}
+ >
+
+ {details &&
+ details.minSendable !== details.maxSendable && (
+
+ setValueSat(e.target.value)}
+ fiatValue={fiatValue}
+ hint={`${tCommon("balance")}: ${auth
+ ?.balancesDecorated?.accountBalance}`}
+ amountExceeded={amountExceeded}
/>
-
- )}
- {showEmailField() && (
-
- {
- setUserEmail(e.target.value);
- }}
+
)}
-
- )}
+
+ {showCommentField() && (
+
+
+ )}
+
+ {(showNameField() || showEmailField()) && (
+
+
+ {tCommon("actions.more")}{" "}
+ {showMoreFields ? (
+
+ ) : (
+
+ )}
+
+
+ )}
+
+ {showMoreFields && (
+
+ {showNameField() && (
+
+ {
+ setUserName(e.target.value);
+ }}
+ />
+
+ )}
+ {showEmailField() && (
+
+ {
+ setUserEmail(e.target.value);
+ }}
+ />
+
+ )}
+
+ )}
+