import { render } from "preact";
import { StateContextProvider } from "./contexts/state";
import { App } from "./components/app";

import './assets/style.css';
import './assets/emoji.css';
import { LLMContextProvider } from "./contexts/llm";

export default function main() {
    render(
        <StateContextProvider>
            <LLMContextProvider>
                <App />
            </LLMContextProvider>
        </StateContextProvider>,
        document.body
    );
}