From ddc59a74ff7f40340e6a27f8102645350632a3b2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 24 Dec 2025 19:00:18 -0600 Subject: [PATCH] Render InitSuccess above others --- src/components/git-sync/GitSyncSteps.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/git-sync/GitSyncSteps.tsx b/src/components/git-sync/GitSyncSteps.tsx index b15ebf08..be764f07 100644 --- a/src/components/git-sync/GitSyncSteps.tsx +++ b/src/components/git-sync/GitSyncSteps.tsx @@ -64,6 +64,16 @@ export function GitSyncSteps({ projectId, onClose }: GitSyncStepsProps) { setCurrentStep('init-success'); }; + if (currentStep === 'init-success') { + return ( + + ); + } + // Don't render anything while loading git status if (isGitStatusLoading) { return ( @@ -109,15 +119,5 @@ export function GitSyncSteps({ projectId, onClose }: GitSyncStepsProps) { ); } - if (currentStep === 'init-success') { - return ( - - ); - } - return null; }