movie-web/src2/index.js

15 lines
293 B
JavaScript
Raw Normal View History

2021-07-14 00:31:37 +02:00
import React from 'react';
import ReactDOM from 'react-dom';
2021-08-02 16:03:39 +02:00
import { HashRouter } from 'react-router-dom';
2021-07-14 00:31:37 +02:00
import './index.css';
import App from './App';
ReactDOM.render(
2021-08-02 14:15:18 +02:00
<React.StrictMode>
2021-08-02 16:03:39 +02:00
<HashRouter>
2021-08-02 14:15:18 +02:00
<App />
2021-08-02 16:03:39 +02:00
</HashRouter>
2021-08-02 14:15:18 +02:00
</React.StrictMode>,
document.getElementById('root')
2021-07-14 00:31:37 +02:00
);