feat: add tg api
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m35s

This commit is contained in:
Hewston Fox
2026-03-16 00:50:53 +02:00
parent 67c2721cff
commit 9f0ff8c4e5
29 changed files with 544 additions and 40 deletions

View File

@@ -3,9 +3,11 @@ import ReactDOM from "react-dom/client";
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import "./styles/index.css";
import i18n from "@/i18n";
import tg from "@/tg";
import { routeTree } from "./routeTree.gen";
import "./i18next";
import "./styles/index.css";
const router = createRouter({ routeTree });
@@ -16,6 +18,9 @@ declare module "@tanstack/react-router" {
}
}
tg.init();
i18n.init();
ReactDOM.createRoot(document.getElementById("root")!).render(
<StrictMode>
<QueryClientProvider client={new QueryClient()}>