import m from "mithril"; import { ChatApp } from "./components/ChatApp"; const localState = { messages: [] } m.mount(document.getElementById("app"), ChatApp);