major apps and hooks refactor
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user