improve: open conversation summary be default
This commit is contained in:
parent
1610ab9943
commit
e394a9aa95
1 changed files with 4 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import { ChevronDownIcon, ChevronUpIcon } from "@heroicons/react/24/solid";
|
||||
import { TrashIcon } from "@heroicons/react/24/outline";
|
||||
import { ChevronDownIcon, ChevronUpIcon } from "@heroicons/react/24/solid";
|
||||
import { ChatHistoryItem } from "core";
|
||||
import { useState } from "react";
|
||||
import { AnimatedEllipsis } from "../AnimatedEllipsis";
|
||||
import { useAppSelector } from "../../redux/hooks";
|
||||
import StyledMarkdownPreview from "../StyledMarkdownPreview";
|
||||
import { useDeleteCompaction } from "../../util/compactConversation";
|
||||
import { AnimatedEllipsis } from "../AnimatedEllipsis";
|
||||
import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip";
|
||||
import StyledMarkdownPreview from "../StyledMarkdownPreview";
|
||||
|
||||
interface ConversationSummaryProps {
|
||||
item: ChatHistoryItem;
|
||||
|
|
@ -14,7 +14,7 @@ interface ConversationSummaryProps {
|
|||
}
|
||||
|
||||
export default function ConversationSummary(props: ConversationSummaryProps) {
|
||||
const [open, setOpen] = useState(false);
|
||||
const [open, setOpen] = useState(true);
|
||||
const isLoading = useAppSelector(
|
||||
(state) => state.session.compactionLoading[props.index] || false,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue