diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 4b91efa365..4633e97d6d 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -753,6 +753,8 @@ ); if (res) { + // Clear the input content saved in session storage. + sessionStorage.removeItem('chat-input'); goto(`/notes/${res.id}`); } };