bump everything
* create-react-app 5.0.1 * many other dependencies * yarn 3.2.2 with Zero-Installs * fix eslint
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import './index.css';
|
||||
import './fonts_7/icomoon.css';
|
||||
import App from './App';
|
||||
@@ -7,6 +6,8 @@ import App from './App';
|
||||
import registerServiceWorker from './registerServiceWorker';
|
||||
|
||||
//elevate();
|
||||
const container = document.getElementById('root');
|
||||
const root = createRoot(container); // createRoot(container!) if you use TypeScript
|
||||
root.render(<App tab="home" />);
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('root'));
|
||||
registerServiceWorker();
|
||||
|
||||
Reference in New Issue
Block a user