Merge pull request #332 from atrokhym/main

HIGH PRIORITY - Attach images to prompts
This commit is contained in:
Cole Medin
2024-12-04 10:53:37 -06:00
committed by GitHub
12 changed files with 276 additions and 52 deletions

View File

@@ -33,7 +33,7 @@ const menuVariants = {
type DialogContent = { type: 'delete'; item: ChatHistoryItem } | null;
export function Menu() {
export const Menu = () => {
const { duplicateCurrentChat, exportChat } = useChatHistory();
const menuRef = useRef<HTMLDivElement>(null);
const [list, setList] = useState<ChatHistoryItem[]>([]);
@@ -206,4 +206,4 @@ export function Menu() {
</div>
</motion.div>
);
}
};