refactor: Replace worktreePath param with useWorktrees flag

This commit is contained in:
Shirone
2026-01-14 09:29:38 +01:00
parent 3689eb969d
commit c7fac3d9e6
3 changed files with 7 additions and 6 deletions

View File

@@ -628,8 +628,8 @@ export function useBoardActions({
currentProject.path,
followUpFeature.id,
followUpPrompt,
imagePaths
// No worktreePath - server derives from feature.branchName
imagePaths,
useWorktrees
);
if (!result.success) {
@@ -667,6 +667,7 @@ export function useBoardActions({
setFollowUpPrompt,
setFollowUpImagePaths,
setFollowUpPreviewMap,
useWorktrees,
]);
const handleCommitFeature = useCallback(