summaryrefslogtreecommitdiff
path: root/source/features/clone-branch.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2021-03-21 05:41:17 -0400
committerGravatar GitHub <noreply@github.com> 2021-03-21 05:41:17 -0400
commit51f61b3c3cf24b7b904d5893bac91b8c520553c8 (patch)
treebe86fefedcb22b2a78b04375ebb287a0263cfab0 /source/features/clone-branch.tsx
parentec19b4552fe4e2ec265f102efece9c1b55bce38f (diff)
downloadrefined-github-51f61b3c3cf24b7b904d5893bac91b8c520553c8.tar.gz
refined-github-51f61b3c3cf24b7b904d5893bac91b8c520553c8.tar.zst
refined-github-51f61b3c3cf24b7b904d5893bac91b8c520553c8.zip
Update dependencies (#4138)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/clone-branch.tsx')
-rw-r--r--source/features/clone-branch.tsx2
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);