mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
adds dark mode and logs errors in message response
This commit is contained in:
parent
58498ed951
commit
b5042a738e
13 changed files with 13873 additions and 536 deletions
5
index.js
5
index.js
|
|
@ -4,6 +4,7 @@ import { createRoot } from 'react-dom/client';
|
|||
import { Provider } from 'react-redux';
|
||||
import { store } from './src/store';
|
||||
import App from './src/App';
|
||||
import { ThemeProvider } from './src/hooks/ThemeContext';
|
||||
import './src/style.css';
|
||||
|
||||
const container = document.getElementById('root');
|
||||
|
|
@ -11,6 +12,8 @@ const root = createRoot(container); // createRoot(container!) if you use TypeScr
|
|||
// reactDom.render(<App />, document.getElementById('root'));
|
||||
root.render(
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
<ThemeProvider>
|
||||
<App />
|
||||
</ThemeProvider>
|
||||
</Provider>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue