mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-04-25 04:55:59 +08:00
### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Refactoring
17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
import React from 'react';
|
|
import { gotoVSCode, Inspector } from 'react-dev-inspector';
|
|
import ReactDOM from 'react-dom/client';
|
|
import '../tailwind.css';
|
|
import App from './app';
|
|
import './global.less';
|
|
import { initLanguage } from './locales/config';
|
|
|
|
initLanguage().then(() => {
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
<React.StrictMode>
|
|
<Inspector keys={['alt', 'c']} onInspectElement={gotoVSCode} />
|
|
<App />
|
|
</React.StrictMode>,
|
|
);
|
|
});
|