mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-23 00:11:28 -07:00
21 lines
510 B
TypeScript
21 lines
510 B
TypeScript
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>,
|
|
);
|
|
}
|