Update apps/ui/src/components/views/board-view/worktree-panel/worktree-panel.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
gsxdsm
2026-02-17 23:37:49 -08:00
committed by GitHub
parent 829c16181b
commit e6e04d57bc

View File

@@ -613,9 +613,9 @@ export function WorktreePanel({
const handleConfirmSelectRemote = useCallback(
async (worktree: WorktreeInfo, remote: string) => {
if (selectRemoteOperation === 'pull') {
handlePull(worktree, remote);
await handlePull(worktree, remote);
} else {
handlePush(worktree, remote);
await handlePush(worktree, remote);
}
fetchBranches(worktree.path);
fetchWorktrees();