mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Pass a parsed remoteUrl down into GitSyncSteps to simplify conditionals
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user