mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add disconnect icon to remove the origin remote
This commit is contained in:
2 files changed
+42
-4
No files matched your search
@@ -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]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user