diff --git a/src/components/GitDialog.tsx b/src/components/GitDialog.tsx index fd7517d7..8de746bf 100644 --- a/src/components/GitDialog.tsx +++ b/src/components/GitDialog.tsx @@ -424,8 +424,8 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog }); // Set origin remote to Nostr URL - // Format: nostr:/// - const nostrUrl = `nostr://${user.pubkey}/${projectId}`; + // Format: nostr:/// + const nostrUrl = `nostr://${nip19.npubEncode(user.pubkey)}/${projectId}`; try { // Remove existing origin if it exists