-
-
- Enter the Stellar wallet address of the recipient
-
+
+
+ {recipientErrorVisible ? (
+
+ ) : recipientAddress ? (
+
+ ) : null}
+
+ {recipientErrorVisible ? (
+
+
+ {errors.recipientAddress?.message}
+
+ ) : (
+
+
+ Stellar wallet addresses start with G and are 56 characters long
+
+ )}
-
+
+
+ {credentialErrorVisible ? (
+
+ ) : credentialId ? (
+
+ ) : null}
+
+ {credentialErrorVisible ? (
+
+
+ {errors.credentialId?.message}
+
+ ) : (
+
+ Choose which vaccination proof you want to share
+
+ )}
-
+
+
+ {durationErrorVisible ? (
+
+ ) : duration ? (
+
+ ) : null}
+
+ {durationErrorVisible ? (
+
+
+ {errors.duration?.message}
+
+ ) : (
+
+ Choose how long the recipient can access your proof
+
+ )}
{/* Progress indicator during sharing */}
@@ -181,9 +363,9 @@ export function CredentialSharing({ walletAddress }: CredentialSharingProps) {
)}
- {/* Error message */}
+ {/* Operation error message */}