Initial commit \o/
This commit is contained in:
commit
f6838c0140
87 changed files with 9726 additions and 0 deletions
18
src/index.js
Normal file
18
src/index.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
import App from './App';
|
||||
import 'semantic-ui-css/semantic.min.css';
|
||||
import './App.css';
|
||||
|
||||
const container = document.getElementById('root');
|
||||
const root = createRoot(container);
|
||||
|
||||
if (!window.localStorage.getItem('color')) {
|
||||
window.localStorage.setItem('color', 'green');
|
||||
}
|
||||
|
||||
if (!window.localStorage.getItem('uom')) {
|
||||
window.localStorage.setItem('uom', 'inch');
|
||||
}
|
||||
|
||||
root.render(App());
|
||||
Loading…
Reference in a new issue