mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-22 12:11:27 -07:00
feat(stats): add v1 immersion stats dashboard (#19)
This commit is contained in:
20
stats/src/main.tsx
Normal file
20
stats/src/main.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import '@fontsource-variable/geist';
|
||||
import '@fontsource-variable/geist-mono';
|
||||
import { App } from './App';
|
||||
import './styles/globals.css';
|
||||
|
||||
const isOverlay = new URLSearchParams(window.location.search).has('overlay');
|
||||
if (isOverlay) {
|
||||
document.body.classList.add('overlay-mode');
|
||||
}
|
||||
|
||||
const root = document.getElementById('root');
|
||||
if (root) {
|
||||
createRoot(root).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user