Add disconnect icon to remove the origin remote

This commit is contained in:
Alex Gleason committed 2025-12-22 23:09:34 -06:00
1 parent 6739fea580
commit b79b7f04db
2 files changed
+42 -4

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ export function GitSyncSteps({ projectId, onClose }: GitSyncStepsProps) {
useEffect(() => {
if (hasRemote && currentStep === 'select-provider') {
setCurrentStep('sync');
} else if (!hasRemote && currentStep === 'sync') {
setCurrentStep('select-provider');
}
}, [hasRemote, currentStep]);