Add tooltip for clear chat history (#1276)

This commit is contained in:
Evan Simkowitz 2024-11-13 18:02:47 -08:00 committed by GitHub
parent 3fcf209b52
commit d38f889bd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];