Skip to content

Commit edd480f

Browse files
authored
fix(tui): fix type error for calling workspace.warp (#25801)
1 parent 2740d39 commit edd480f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/cli/cmd/tui/component/dialog-workspace-create.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function warpWorkspaceSession(input: {
7777
}): Promise<boolean> {
7878
const result = await input.sdk.client.experimental.workspace
7979
.warp({
80-
id: input.workspaceID,
80+
id: input.workspaceID ?? undefined,
8181
sessionID: input.sessionID,
8282
})
8383
.catch(() => undefined)

0 commit comments

Comments
 (0)