From 7dae6bbbf16a481805e5c191ac25ffbd12dbec10 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sat, 5 Sep 2026 13:25:26 -0700 Subject: [PATCH] style: use explicit draft refresh block --- .../src/components/worktree-creation/CreationDraftSurface.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) + } }} >