diff options
Diffstat (limited to 'src/index.js')
| -rw-r--r-- | src/index.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..f5185c1 --- /dev/null +++ b/src/index.js | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | import React from 'react'; | ||
| 2 | import ReactDOM from 'react-dom'; | ||
| 3 | import './index.css'; | ||
| 4 | import App from './App'; | ||
| 5 | import * as serviceWorker from './serviceWorker'; | ||
| 6 | |||
| 7 | ReactDOM.render( | ||
| 8 | <React.StrictMode> | ||
| 9 | <App /> | ||
| 10 | </React.StrictMode>, | ||
| 11 | document.getElementById('root') | ||
| 12 | ); | ||
| 13 | |||
| 14 | // If you want your app to work offline and load faster, you can change | ||
| 15 | // unregister() to register() below. Note this comes with some pitfalls. | ||
| 16 | // Learn more about service workers: https://bit.ly/CRA-PWA | ||
| 17 | serviceWorker.unregister(); | ||
