mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-08 04:43:00 +08:00
24 lines
677 B
TypeScript
24 lines
677 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import {Provider} from 'react-redux';
|
|
import App from './App';
|
|
import './index.css';
|
|
import reportWebVitals from './reportWebVitals';
|
|
import store from './store';
|
|
import {injectStore} from 'src/api/utils';
|
|
|
|
injectStore(store);
|
|
ReactDOM.render(
|
|
<React.StrictMode>
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>
|
|
</React.StrictMode>,
|
|
document.getElementById('root')
|
|
);
|
|
|
|
// 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();
|