Merge remote-tracking branch 'upstream/HEAD'

This commit is contained in:
DirkSchlossmacher
2023-11-09 07:35:07 +01:00
16 changed files with 127 additions and 76 deletions

View File

@@ -1,3 +1,5 @@
import { useEffect, useRef, useMemo, useCallback } from "react";
import styles from "./home.module.scss";
import AddIcon from "../icons/add.svg";
@@ -209,7 +211,7 @@ export function SideBar(props: { className?: string }) {
<div className={styles["sidebar-actions"]}>
<div className={styles["sidebar-action"] + " " + styles.mobile}>
<IconButton
icon={<CloseIcon />}
icon={<DeleteIcon />}
onClick={async () => {
if (await showConfirm(Locale.Home.DeleteChat)) {
chatStore.deleteSession(chatStore.currentSessionIndex);