From d38f889bd680f0ad8d93f001abd696a5a89f38ed Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 13 Nov 2024 18:02:47 -0800 Subject: [PATCH] Add tooltip for clear chat history (#1276) --- frontend/app/view/waveai/waveai.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/view/waveai/waveai.tsx b/frontend/app/view/waveai/waveai.tsx index a3bc3b2a4..52dcd8e43 100644 --- a/frontend/app/view/waveai/waveai.tsx +++ b/frontend/app/view/waveai/waveai.tsx @@ -252,10 +252,11 @@ export class WaveAiModel implements ViewModel { }); return viewTextChildren; }); - this.endIconButtons = atom((get) => { + this.endIconButtons = atom((_) => { let clearButton: IconButtonDecl = { elemtype: "iconbutton", icon: "delete-left", + title: "Clear Chat History", click: this.clearMessages.bind(this), }; return [clearButton];