{
- if (await showConfirm(Locale.Settings.Danger.Clear.Confirm)) {
- chatStore.clearAllData();
- }
- }}
- type="danger"
- className={styles["custom-sidebar-clear-button"]}
- />
+
+ {
+ if (await showConfirm(Locale.Settings.Danger.Clear.Confirm)) {
+ chatStore.clearAllData();
+ }
+ }}
+ title={Locale.Settings.Danger.Clear.Title}
+ icon={}
+ // type="danger"
+ className={styles["custom-sidebar-clear-button"]}
+ />
+
;