major apps and hooks refactor

This commit is contained in:
2026-02-21 21:24:31 +00:00
parent e275c0fea6
commit 9e9acd9631
125 changed files with 3840 additions and 3285 deletions
@@ -1,14 +1,13 @@
import { useRef, useEffect, useState } from 'react';
import { useNavigate, useLocation } from 'react-router';
import { useChatSessions } from '@/state/useChatSessions';
import { SessionBar } from 'apps/ChatHistory';
import { EmbeddableChat, type UsePiType, type Attachment } from 'apps/Chat';
import { SessionBar, EmbeddableChat, type UsePiChatType, type Attachment } from 'officerdev';
import { Card } from '@/components/Card';
export type { Attachment };
type ChatPanelProps = {
chat: UsePiType;
chat: UsePiChatType;
};
export const ChatScreen = ({ chat }: ChatPanelProps) => {