update BreakIcon to ClearIcon

This commit is contained in:
2023-06-22 14:31:23 +08:00
parent 5caaa440a4
commit 8420085fb1
+1 -1
View File
@@ -441,7 +441,7 @@ export function ChatActions(props: {
<ChatAction <ChatAction
text={Locale.Chat.InputActions.Clear} text={Locale.Chat.InputActions.Clear}
icon={<BreakIcon />} icon={<ClearIcon />}
onClick={() => { onClick={() => {
chatStore.updateCurrentSession((session) => { chatStore.updateCurrentSession((session) => {
if (session.clearContextIndex === session.messages.length) { if (session.clearContextIndex === session.messages.length) {