Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 2x 2x 2x | // This file is for use client as a separate frontend on it's own // ************************* ATTENTION **************************** import { initializeI18n } from '@config/i18n'; import { ModalLockProvider } from '@utils/context'; import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import App from './App'; import './css/App.less'; import './css/scrollbar.css'; initializeI18n() .then(() => { ReactDOM.render( <BrowserRouter> <ModalLockProvider> <App /> </ModalLockProvider> </BrowserRouter> , document.getElementById('root') ); }) .catch((error) => { console.error('Error initializing i18n:', error); // You may want to display an error message to the user here }); export { App }; |