diff options
Diffstat (limited to 'source/features/clone-branch.tsx')
-rw-r--r-- | source/features/clone-branch.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/clone-branch.tsx b/source/features/clone-branch.tsx index 92a7f64f..0ae953f4 100644 --- a/source/features/clone-branch.tsx +++ b/source/features/clone-branch.tsx @@ -38,7 +38,7 @@ async function createBranch(newBranchName: string, baseSha: string): Promise<tru return response.ok || response.message; } -async function cloneBranch({delegateTarget: cloneButton}: delegate.Event<MouseEvent, HTMLButtonElement>): Promise<void> { +async function cloneBranch({delegateTarget: cloneButton}: delegate.Event): Promise<void> { const branchName = cloneButton.closest('[branch]')!.getAttribute('branch')!; const currentBranch = getBranchBaseSha(branchName); |