mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 16:31:13 -05:00
Fix unit display errors
This commit is contained in:
@@ -3,9 +3,15 @@ import { createRoot } from "react-dom/client";
|
||||
import App from "./App.tsx";
|
||||
import "./index.css";
|
||||
import { ThemeProvider } from "@/components/theme/ThemeProvider";
|
||||
import { useLocationAutoDetect } from "./hooks/useLocationAutoDetect";
|
||||
|
||||
function AppWithAutoDetect() {
|
||||
useLocationAutoDetect();
|
||||
return <App />;
|
||||
}
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<ThemeProvider defaultTheme="dark" storageKey="thrillwiki-theme">
|
||||
<App />
|
||||
<AppWithAutoDetect />
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user