Back to React

This commit is contained in:
Gregory Schier
2023-03-13 09:50:49 -07:00
parent 03461ffa77
commit 90c873e37e
25 changed files with 377 additions and 616 deletions

View File

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