update
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
import React from 'react'
|
||||
import {createRoot} from 'react-dom/client'
|
||||
import './style.css'
|
||||
import App from './App'
|
||||
import React from 'react';
|
||||
import {createRoot} from 'react-dom/client';
|
||||
import './style.css';
|
||||
import App from './App';
|
||||
import {HashRouter} from 'react-router-dom';
|
||||
import {startup} from './startup';
|
||||
|
||||
const container = document.getElementById('root')
|
||||
startup().then(() => {
|
||||
const container = document.getElementById('root');
|
||||
|
||||
const root = createRoot(container!)
|
||||
const root = createRoot(container!);
|
||||
|
||||
root.render(
|
||||
root.render(
|
||||
<HashRouter>
|
||||
<App/>
|
||||
<App/>
|
||||
</HashRouter>
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user