From a0a35ca6f19213123e9fb102096ebeff7a90cb2c Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 27 Apr 2025 20:13:54 -0600 Subject: move to router --- client/src/index.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'client/src/index.js') diff --git a/client/src/index.js b/client/src/index.js index 10d3d73..bebdf88 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -4,6 +4,9 @@ import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; import { initVChartArcoTheme } from '@visactor/vchart-arco-theme'; +import { BrowserRouter } from 'react-router-dom';import { ConfigProvider } from '@arco-design/web-react'; +import enUS from '@arco-design/web-react/es/locale/en-US'; + initVChartArcoTheme({ defaultMode: 'light', @@ -13,11 +16,12 @@ initVChartArcoTheme({ const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - + + + + + ); -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals reportWebVitals(); -- cgit v1.2.3