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

import './assets/style.css';
import './assets/emoji.css';

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