From 67df71d1ca0b4944af314d540e557c245fc9d649 Mon Sep 17 00:00:00 2001 From: Red Adaya Date: Wed, 1 May 2024 10:51:23 +0800 Subject: [PATCH] bound callback --- src/app/sidebar/aichat.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/sidebar/aichat.tsx b/src/app/sidebar/aichat.tsx index 6eddb6c1f..4923171af 100644 --- a/src/app/sidebar/aichat.tsx +++ b/src/app/sidebar/aichat.tsx @@ -207,6 +207,7 @@ class AIChat extends React.Component<{}, {}> { } // Adjust the height of the textarea to fit the text + @boundMethod onTextAreaChange(e: any) { // Calculate the bounding height of the text area const textAreaMaxLines = 4;