-
- {t("asset")}
-
-
- {(["XLM", "USDC"] as const).map((a) => (
-
-
- {/* Trusted Addresses Dropdown */}
- {trustedAddresses.length > 0 && (
-
-
-
-
- )}
-
- {/* Recipient */}
-
-
- setRecipient(e.target.value)}
- className="rounded-xl border border-white/10 bg-white/5 p-3 font-mono text-sm text-white placeholder:font-sans placeholder:text-slate-600 focus:border-mint/50 focus:outline-none focus:ring-1 focus:ring-mint/50"
- placeholder="GABC…XYZ"
- autoComplete="off"
- spellCheck={false}
- />
-
-
- {/* Description (optional) */}
-
-
- setDescription(e.target.value)}
- className="rounded-xl border border-white/10 bg-white/5 p-3 text-white placeholder:text-slate-600 focus:border-mint/50 focus:outline-none focus:ring-1 focus:ring-mint/50"
- placeholder="e.g. Invoice #42"
- />
-
-
-
-
-
-
- {t("brandingTitle")}
-
-
- {t("brandingDescription")}
-
+ {t("descriptionLabel")}{" "}
+
+ ({t("optional")})
+
+
+
setDescription(e.target.value)}
+ className="rounded-xl border border-white/10 bg-white/5 p-3 text-white placeholder:text-slate-600 focus:border-mint/50 focus:outline-none focus:ring-1 focus:ring-mint/50"
+ placeholder="e.g. Invoice #42"
+ />
-
-
- {useSessionBranding && (
-
- {([
- ["primary_color", t("primary")],
- ["secondary_color", t("secondary")],
- ["background_color", t("background")],
- ] as const).map(([field, label]) => (
-
- ))}
-
-
-
- {t("checkoutPreview")}
-
+ {/* Branding panel */}
+
+
+
+
+ {t("brandingTitle")}
+
+
+ {t("brandingDescription")}
+
+
+
+ {useSessionBranding && (
+
+ {(
+ [
+ ["primary_color", t("primary")],
+ ["secondary_color", t("secondary")],
+ ["background_color", t("background")],
+ ] as const
+ ).map(([field, label]) => (
+
+ ))}
+
+
+
+ {t("checkoutPreview")}
+
+
+
+
+ )}
- )}
-
-
+
-
-
+ {/* Submit */}
+
+
+ )}
+
);
}
diff --git a/package.json b/package.json
index e749b45f..683b98b6 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,6 @@
{
"dependencies": {
"@sentry/nextjs": "^10.46.0",
- "canvas-confetti": "^1.9.4",
"react-simple-pull-to-refresh": "^1.3.4"
}
}