You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
760 B

11 months ago
10 months ago
11 months ago
  1. import React from 'react';
  2. import ReactDOM from 'react-dom/client';
  3. import App from './App';
  4. import reportWebVitals from './reportWebVitals';
  5. import './styles/global.scss'
  6. import { ConfigProvider } from 'antd';
  7. import './language'
  8. const root = ReactDOM.createRoot(
  9. document.getElementById('root') as HTMLElement
  10. );
  11. root.render(
  12. <React.StrictMode>
  13. <ConfigProvider
  14. theme={{
  15. components: {
  16. Button: {
  17. }
  18. }
  19. }}
  20. >
  21. <App />
  22. </ConfigProvider>
  23. </React.StrictMode>
  24. );
  25. // If you want to start measuring performance in your app, pass a function
  26. // to log results (for example: reportWebVitals(console.log))
  27. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  28. reportWebVitals();