Strict mode and tweak layout padding

This commit is contained in:
Gregory Schier
2023-03-14 20:19:45 -07:00
parent 5904b6fded
commit ef18377b3c
9 changed files with 42 additions and 33 deletions

View File

@@ -1,3 +1,4 @@
import { StrictMode } from 'react';
import ReactDOM from 'react-dom/client';
import { App } from './components/App';
import { setAppearance } from './lib/theme/window';
@@ -6,4 +7,8 @@ import './main.css';
setAppearance();
// root holds our app's root DOM Element:
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<App />);
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<StrictMode>
<App />
</StrictMode>,
);