@devries-cameron20 / t3code Mirror · read-only / commits / 758df838d9
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 18:30 UTC

kewl

Julius Marminge committed Feb 14, 2026 at 23:33 UTC 758df838d935e166a264d6141a380e965aeb2961
1 file changed +5 -6
apps/web/src/components/GitActionsControl.tsx
+5 -6
@@ -194,11 +194,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
194 ? (quickAction.hint ?? "This action is currently unavailable.")
195 : null;
196
197 - const refreshGitStatus = useCallback(async () => {
198 - if (!api || !gitCwd) return;
199 - await invalidateGitQueries(queryClient);
200 - }, [api, gitCwd, queryClient]);
201 -
197 const maybeConfirmPushToDefaultBranch = useCallback(
198 async (action: GitStackedAction): Promise<boolean> => {
199 if (!api) return false;
@@ -479,7 +474,11 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
474 </Button>
475 )}
476 <GroupSeparator />
482 - <Menu>
477 + <Menu
478 + onOpenChange={(open) => {
479 + if (open) void invalidateGitQueries(queryClient);
480 + }}
481 + >
482 <MenuTrigger
483 render={<Button aria-label="Git action options" size="icon-xs" variant="outline" />}
484 disabled={isGitActionRunning}