Merge pull request #4970 from gitbutlerapp/clean-up-update-base-button

clean-up: Remove unnecessary function declaration
This commit is contained in:
Esteban Vega 2024-09-24 16:55:12 +02:00 committed by GitHub
commit 60c33f135e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,8 +24,6 @@
modal?.show();
}
function onClose() {}
async function updateBaseBranch() {
let infoText = await branchController.updateBaseBranch();
if (infoText) {
@ -34,7 +32,7 @@
}
</script>
<IntegrateUpstreamModal bind:this={modal} {onClose} />
<IntegrateUpstreamModal bind:this={modal} />
{#if displayButton}
<Button