mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-11 20:04:59 +01:00
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
import { renderToStringAsync } from "solid-js/web"
|
|
import { App } from "./app"
|
|
|
|
export async function render(props: { url: string }) {
|
|
const app = await renderToStringAsync(() => <App url={props.url} />)
|
|
return { app }
|
|
}
|