diff --git a/src/renderer/src/components/worktree-creation/CreationDraftSurface.tsx b/src/renderer/src/components/worktree-creation/CreationDraftSurface.tsx index 80b6d01fddb..86fe7c12edc 100644 --- a/src/renderer/src/components/worktree-creation/CreationDraftSurface.tsx +++ b/src/renderer/src/components/worktree-creation/CreationDraftSurface.tsx @@ -87,7 +87,9 @@ export function CreationDraftSurface(): React.JSX.Element | null { {drafts.length > 0 ? ( { - if (open) void loadCreationDrafts(true) + if (open) { + void loadCreationDrafts(true) + } }} >