diff --git a/frontend/src/screens/CreateProfileModal.tsx b/frontend/src/screens/CreateProfileModal.tsx
index 30347d7..7c259e5 100644
--- a/frontend/src/screens/CreateProfileModal.tsx
+++ b/frontend/src/screens/CreateProfileModal.tsx
@@ -12,7 +12,7 @@ interface CreateProfileModalProps {
onClose: () => void;
}
-type Phase = 'choice' | 'pair-label' | 'pairing' | 'paired' | 'local' | 'creating' | 'success';
+type Phase = 'choice' | 'pairing' | 'paired' | 'local' | 'creating' | 'success';
export function CreateProfileModal({ open, onClose }: CreateProfileModalProps) {
const { state, createProfile, nip46PairStart, nip46Status, nip46Disconnect, refresh } = useApp();
@@ -39,7 +39,7 @@ export function CreateProfileModal({ open, onClose }: CreateProfileModalProps) {
// Let the local-form input take focus once that step mounts.
useEffect(() => {
- if (phase === 'local' || phase === 'pair-label') {
+ if (phase === 'local') {
const frame = requestAnimationFrame(() => inputRef.current?.focus());
return () => cancelAnimationFrame(frame);
}
@@ -133,6 +133,12 @@ export function CreateProfileModal({ open, onClose }: CreateProfileModalProps) {
const startPairing = async () => {
setError(null);
try {
+ // No user-typed label: the profile is named automatically. The
+ // backend fetches the account's kind-0 after the handshake and
+ // upgrades this seed label to the account's real display name
+ // (adopt_identity background enrichment); a nameless account keeps
+ // 'Amber', which beats a manual step the user must fight with a
+ // backspace key (Sep 25 feedback).
const status = await nip46PairStart(label.trim() || 'Amber');
if (status.pairing_uri) setLivePairingUri(status.pairing_uri);
setPhase('pairing');
@@ -170,13 +176,7 @@ export function CreateProfileModal({ open, onClose }: CreateProfileModalProps) {
{error &&