Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c7d2ced1

Přidáno uživatelem Václav Honzík před více než 2 roky(ů)

From feature/#9196_Connect_Frontend_With_Backend into develop

Zobrazit rozdíly:

frontend/src/index.tsx
1
import React from 'react';
2
import ReactDOM from 'react-dom';
3
import './index.css';
4
import App from './App';
5
import reportWebVitals from './reportWebVitals';
1
import React from 'react'
2
import ReactDOM from 'react-dom'
3
import './index.css'
4
import App from './App'
5
import reportWebVitals from './reportWebVitals'
6
import { BrowserRouter } from 'react-router-dom'
6 7

  
7 8
ReactDOM.render(
8
  <React.StrictMode>
9
    <App />
10
  </React.StrictMode>,
11
  document.getElementById('root')
12
);
9
    <React.StrictMode>
10
        <BrowserRouter>
11
            <App />
12
        </BrowserRouter>
13
    </React.StrictMode>,
14
    document.getElementById('root')
15
)
13 16

  
14 17
// If you want to start measuring performance in your app, pass a function
15 18
// to log results (for example: reportWebVitals(console.log))
16 19
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17
reportWebVitals();
20
reportWebVitals()

Také k dispozici: Unified diff