mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-29 06:35:38 +01:00
18 lines
341 B
JavaScript
18 lines
341 B
JavaScript
import App from './components/App/App';
|
|
import { BrowserRouter } from 'react-router-dom';
|
|
import React from 'react';
|
|
import { hydrateRoot } from 'react-dom/client';
|
|
|
|
const container = document.getElementById('root');
|
|
|
|
hydrateRoot(
|
|
container,
|
|
<BrowserRouter>
|
|
<App />
|
|
</BrowserRouter>,
|
|
);
|
|
|
|
if (module.hot) {
|
|
module.hot.accept();
|
|
}
|