mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
480 B
TypeScript
20 lines
480 B
TypeScript
import { ChatBox } from '@/components/ChatBox';
|
|
import React from 'react';
|
|
import { useParams } from 'react-router';
|
|
|
|
interface UserConversePanelParams {
|
|
converseUUID: string;
|
|
}
|
|
|
|
export const ConversePanel: React.FC = React.memo(() => {
|
|
const params = useParams<UserConversePanelParams>();
|
|
|
|
return (
|
|
<div className="w-full h-full overflow-hidden">
|
|
<div>{params.converseUUID}</div>
|
|
<ChatBox />
|
|
</div>
|
|
);
|
|
});
|
|
ConversePanel.displayName = 'ConversePanel';
|