Skip to content

Commit 043059e

Browse files
grypezclaude
andcommitted
fix(kernel-tui): omit optional clauses prop to satisfy exactOptionalPropertyTypes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9c69236 commit 043059e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/kernel-tui/src/components/session-detail-view.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,9 @@ export function SessionDetailView({
988988
<ProvisionEditor
989989
toolName={toolName}
990990
invocations={entry.invocations ?? []}
991-
clauses={entry.clauses}
991+
{...(entry.clauses !== undefined
992+
? { clauses: entry.clauses }
993+
: {})}
992994
onSubmit={handleProvisionSubmit}
993995
onCancel={() => setEditingProvision(false)}
994996
/>

0 commit comments

Comments
 (0)