mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
18 lines
No EOL
464 B
JavaScript
18 lines
No EOL
464 B
JavaScript
import React from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
import { Provider } from 'react-redux';
|
|
import { store } from './src/store';
|
|
import { ThemeProvider } from './src/hooks/ThemeContext';
|
|
import App from './src/App';
|
|
import './src/style.css';
|
|
|
|
const container = document.getElementById('root');
|
|
const root = createRoot(container);
|
|
|
|
root.render(
|
|
<Provider store={store}>
|
|
<ThemeProvider>
|
|
<App />
|
|
</ThemeProvider>
|
|
</Provider>
|
|
); |