TypeScript
Restore Open PR toast action after PR creation
Julius Marminge77c81b746800
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsxindex 654ccc2aaea..55115a36389 100644--- a/apps/web/src/components/GitActionsControl.tsx+++ b/apps/web/src/components/GitActionsControl.tsx@@ -319,7 +319,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActionsconst shouldOfferOpenPrCta =(action === "commit_push" || action === "commit_push_pr") &&!!prUrl &&- !actionIsDefaultBranch;+ (result.pr.status === "created" || result.pr.status === "opened_existing");const shouldOfferCreatePrCta =action === "commit_push" &&!prUrl &&