Skip to content

Commit 0a0a477

Browse files
committed
Remove the 'cwc-chat-initialized' custom event dispatch from the initialize_chat function
1 parent bc1c399 commit 0a0a477

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/browser/src/content-scripts/send-prompt-content-script/send-prompt-content-script.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ const initialize_chat = async (params: { message: string; chat: Chat }) => {
165165
})
166166
}
167167

168-
window.dispatchEvent(new CustomEvent('cwc-chat-initialized'))
169168
// User may send by pressing enter
170169
await new Promise<void>((resolve) => {
171170
const handle_key_press = (e: KeyboardEvent) => {

0 commit comments

Comments
 (0)