import type { Component } from "solid-js"; import { Show } from "solid-js"; import { activeChannel } from "../../stores/channels"; import { messages } from "../../stores/messages"; import { typingUserNames } from "../../stores/members"; import MessageList from "../chat/MessageList"; import MessageInput from "../chat/MessageInput"; import TypingIndicator from "../chat/TypingIndicator"; interface ChatAreaProps { onSendMessage: (content: string) => void; onTyping: () => void; } // voice channels are joined inline from the sidebar and no longer // render a full-screen view here -- the chat area always shows // the selected text channel const ChatArea: Component = (props) => { const channel = () => activeChannel(); return (

welcome to dusk

select a community and channel to start chatting

} > ); }; export default ChatArea;