import { ChatBox } from '@/components/ChatBox'; import React from 'react'; import { useGroupPanel } from 'tailchat-shared'; import { GroupPanelWrapper } from './Wrapper'; interface TextPanelProps { groupId: string; panelId: string; } export const TextPanel: React.FC = React.memo( ({ groupId, panelId }) => { const panelInfo = useGroupPanel(groupId, panelId); if (panelInfo === undefined) { return null; } return ( ); } ); TextPanel.displayName = 'TextPanel';