mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 09:46:25 +02:00
Add sserver actions
This commit is contained in:
parent
4c22f4a953
commit
ce658b91ea
5 changed files with 71 additions and 42 deletions
|
|
@ -7,10 +7,10 @@ import { chatInterfaceContext } from "../ChatInterface";
|
|||
import { ConfigModal } from "./ConfigModal";
|
||||
|
||||
interface ChatPanelViewProps {
|
||||
chatId: string;
|
||||
chat_id: string;
|
||||
}
|
||||
|
||||
export default function ChatPanelView({ chatId }: ChatPanelViewProps) {
|
||||
export function ChatPanelView({ chat_id: chatId }: ChatPanelViewProps) {
|
||||
const context = useContext(chatInterfaceContext);
|
||||
if (!context) {
|
||||
throw new Error("chatInterfaceContext must be used within a ChatProvider");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue