From 77f29c12af98f5a5d26be4d36a5f6bf346c9a1c8 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 9 Dec 2025 01:21:44 -0600 Subject: [PATCH] Wait a few seconds for GRASP servers to update after creating the repo announcement event --- src/components/GitDialog.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/GitDialog.tsx b/src/components/GitDialog.tsx index 06adc4df..24e33859 100644 --- a/src/components/GitDialog.tsx +++ b/src/components/GitDialog.tsx @@ -488,6 +488,9 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog console.log('Set nostr.repo config to:', result.naddr); + // Wait a few seconds for GRASP servers to update + await new Promise(resolve => setTimeout(resolve, 3000)); + // Refresh git status to pick up the new remote await refetchGitStatus();