- {post && (
+ {post && !showResult && (
Like the post by {displayName}
)}
-
- Tip (satoshis, optional)
- {
- setTip(e.target.value)
- // Clear a previous validation error so the user can retry.
- setError('')
- }}
- disabled={submitting}
+ {showResult
+ ? (
+
-
-
+ )
+ : (
+ <>
+
+ Tip (satoshis, optional)
+ {
+ setTip(e.target.value)
+ // Clear a previous validation error so the user can retry.
+ setError('')
+ }}
+ disabled={submitting}
+ />
+
+
- {error && (
- {error}
- )}
+ {error && (
+ {error}
+ )}
+ >
+ )}