mirror of
https://github.com/linsa-io/linsa.git
synced 2026-02-25 11:54:59 +01:00
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
/// <reference types="vinxi/types/client" />
|
|
import { hydrateRoot } from "react-dom/client"
|
|
import { StartClient } from "@tanstack/start"
|
|
import { createRouter } from "./router"
|
|
|
|
const router = createRouter()
|
|
|
|
hydrateRoot(document.getElementById("root")!, <StartClient router={router} />)
|