From 21b3e732ef5b2e136f1a8404569f97f2978cd818 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 10 Jun 2024 12:12:42 +0200 Subject: [PATCH] upstream --- libs/remix-ui/git/src/components/panels/commands/pushpull.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/git/src/components/panels/commands/pushpull.tsx b/libs/remix-ui/git/src/components/panels/commands/pushpull.tsx index 6a6c5a93bb..26f309ad48 100644 --- a/libs/remix-ui/git/src/components/panels/commands/pushpull.tsx +++ b/libs/remix-ui/git/src/components/panels/commands/pushpull.tsx @@ -23,7 +23,7 @@ export const PushPull = () => { if ((!context.upstream) && context.currentBranch && context.currentBranch.remote && context.currentBranch.remote.name) { actions.setUpstreamRemote(context.currentBranch.remote) } - }, [context.currentBranch]) + }, [context.currentBranch, context.remotes, context.branches]) const onRemoteBranchChange = (value: string) => { setRemoteBranch(value)