fix: delete all topic confirm button text

This commit is contained in:
kangfenmao 2024-07-17 12:47:26 +08:00
parent 810c44f7fc
commit 474beca088

View File

@ -98,9 +98,7 @@ const Topics: FC<Props> = ({ assistant, activeTopic, setActiveTopic }) => {
description={t('assistant.topics.delete.all.content')}
placement="leftBottom"
onConfirm={removeAllTopics}
okText="Delete All"
okType="danger"
cancelText="Cancel">
okType="danger">
<DeleteButton type="text">
<DeleteIcon />
</DeleteButton>