diff --git a/app/src/ui/dispatcher/dispatcher.ts b/app/src/ui/dispatcher/dispatcher.ts index 34bafd03b2..956efd3edb 100644 --- a/app/src/ui/dispatcher/dispatcher.ts +++ b/app/src/ui/dispatcher/dispatcher.ts @@ -3482,12 +3482,6 @@ export class Dispatcher { count, mcos ) - if (banner === null) { - log.error( - '[completeMultiCommitOperation] - No multi commit operation to complete.' - ) - return - } this.setBanner(banner) @@ -3509,7 +3503,7 @@ export class Dispatcher { repository: Repository, count: number, mcos: IMultiCommitOperationState - ): Banner | null { + ): Banner { const { operationDetail: { kind }, targetBranch,