index.tsx 653 B

12345678910111213141516171819202122
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import { StateInspector } from 'reinspect';
  4. import { Reset } from 'styled-reset';
  5. import { Root } from './components/root';
  6. import reportWebVitals from './reportWebVitals';
  7. ReactDOM.render(
  8. <React.StrictMode>
  9. <Reset />
  10. <StateInspector name="global">
  11. <Root />
  12. </StateInspector>
  13. </React.StrictMode>,
  14. document.getElementById('root'),
  15. );
  16. // If you want to start measuring performance in your app, pass a function
  17. // to log results (for example: reportWebVitals(console.log))
  18. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  19. reportWebVitals();