| ... | ... | @@ -344,9 +344,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 344 | 344 | } |
| 345 | 345 | |
| 346 | 346 | void api.shell.openExternal(prUrl).catch((error) => { |
| 347 | | setGitActionError( |
| 348 | | error instanceof Error ? error.message : "Unable to open PR link.", |
| 349 | | ); |
| 347 | setGitActionError(error instanceof Error ? error.message : "Unable to open PR link."); |
| 350 | 348 | }); |
| 351 | 349 | }, [api, gitStatus?.openPr?.url]); |
| 352 | 350 | |
| ... | ... | @@ -415,10 +413,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 415 | 413 | if (commitRun.commit.subject) { |
| 416 | 414 | setGitModalCommitMessage(commitRun.commit.subject); |
| 417 | 415 | } |
| 418 | | updateStep( |
| 419 | | "generate", |
| 420 | | "completed", |
| 421 | | ); |
| 416 | updateStep("generate", "completed"); |
| 422 | 417 | } else { |
| 423 | 418 | updateStep("generate", "skipped", "No local changes to commit."); |
| 424 | 419 | } |
| ... | ... | @@ -696,9 +691,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 696 | 691 | onChange={(event) => setGitModalCommitMessage(event.target.value)} |
| 697 | 692 | disabled={!gitModalSelectionMode || isGitActionRunning} |
| 698 | 693 | /> |
| 699 | | <p className="mt-1.5 text-xs text-muted-foreground/65"> |
| 700 | | Leave this empty to use AI-generated commit text. |
| 701 | | </p> |
| 702 | 694 | </div> |
| 703 | 695 | <div className="mt-6"> |
| 704 | 696 | <p className="text-sm font-medium text-foreground">Next steps</p> |