LibreChat/client/index.js
Wentao Lyu 070fee2ece feat: basic support in mobile mode. including:
navbar show and hide,
similar fade animation,
auto close when select new convo,
mobile title will change with convo,
new chat button.
2023-03-12 00:32:03 +08:00

19 lines
No EOL
490 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';
import './src/mobile.css'
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<Provider store={store}>
<ThemeProvider>
<App />
</ThemeProvider>
</Provider>
);