Pass a parsed remoteUrl down into GitSyncSteps to simplify conditionals

This commit is contained in:
Alex Gleason committed 2025-12-24 18:58:51 -06:00
1 parent 21df7fe3dd
commit 5f054a9a4a
7 files changed
+79 -66

No files matched your search

@@ -13,14 +13,14 @@ interface ForcePushDialogProps {
open: boolean;
onOpenChange: (open: boolean) => void;
onConfirm: () => void;
remoteName?: string;
remoteName: string;
}
export function ForcePushDialog({
open,
onOpenChange,
onConfirm,
remoteName = 'the remote'
remoteName,
}: ForcePushDialogProps) {
const handleConfirm = () => {
onOpenChange(false);