forked from pinks/eris
1
0
Fork 0
nyx/ui/main.tsx

17 lines
428 B
TypeScript
Raw Permalink Normal View History

2023-10-13 18:05:23 +00:00
/// <reference lib="deno.unstable" />
2023-10-05 09:00:51 +00:00
/// <reference lib="dom" />
import { createRoot } from "react-dom/client";
import React from "react";
import { App } from "./App.tsx";
import "./twind.ts";
import { BrowserRouter } from "react-router-dom";
2023-10-13 11:47:57 +00:00
import { IntlProvider } from "react-intl";
2023-10-05 09:00:51 +00:00
createRoot(document.body).render(
<BrowserRouter>
2023-10-13 11:47:57 +00:00
<IntlProvider locale="en">
<App />
</IntlProvider>
2023-10-05 09:00:51 +00:00
</BrowserRouter>,
);