mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
feat: use recoil to replace redux feat: use react-native THIS IS NOT FINISHED. DONT USE THIS
21 lines
526 B
JavaScript
21 lines
526 B
JavaScript
import React from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
// import { Provider } from 'react-redux';
|
|
// import { store } from './src/store';
|
|
import { RecoilRoot } from 'recoil';
|
|
|
|
import { ThemeProvider } from './src/hooks/ThemeContext';
|
|
import App from './src/App';
|
|
import './src/style.css';
|
|
import './src/mobile.css';
|
|
|
|
const container = document.getElementById('root');
|
|
const root = createRoot(container);
|
|
|
|
root.render(
|
|
<RecoilRoot>
|
|
<ThemeProvider>
|
|
<App />
|
|
</ThemeProvider>
|
|
</RecoilRoot>
|
|
);
|