chore: add eruda
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m32s

This commit is contained in:
Hewston Fox
2026-03-18 01:55:51 +02:00
parent 5f721a4f3a
commit 5cff74cb39
3 changed files with 12 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import { StrictMode } from "react";
import ReactDOM from "react-dom/client";
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import eruda from "eruda";
import i18n from "@/i18n";
import tg from "@/tg";
@@ -18,6 +19,8 @@ declare module "@tanstack/react-router" {
}
}
if (import.meta.env.MODE !== "production") eruda.init();
tg.init();
i18n.init();