From 15994c46d1e3d66624e79668cec058c5fe0c26e5 Mon Sep 17 00:00:00 2001 From: Tom Spielvogel <35257265+IDLe-Engineering@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:28:23 +0200 Subject: [PATCH] Adapted to new type CodeSelection --- extensions/void/src/sidebar/SidebarChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/void/src/sidebar/SidebarChat.tsx b/extensions/void/src/sidebar/SidebarChat.tsx index b447ef68..645afb46 100644 --- a/extensions/void/src/sidebar/SidebarChat.tsx +++ b/extensions/void/src/sidebar/SidebarChat.tsx @@ -22,7 +22,7 @@ ${content} \`\`\``).join('\n') } -const userInstructionsStr = (instructions: string, files: File[], selection: Selection | null): string => { +const userInstructionsStr = (instructions: string, files: File[], selection: CodeSelection | null) => { let str = ''; if (files.length > 0) {