LibreChat/client/src/main.jsx
Dan Orlando 7fdc862042
Build/Refactor: lint pre-commit hook and reformat repo to spec (#314)
* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook

* refactor: reformat files

* build: put full eslintrc back with all rules
2023-05-18 14:09:31 -04:00

14 lines
369 B
JavaScript

import { createRoot } from 'react-dom/client';
import App from './App';
import './style.css';
import './mobile.css';
import { ApiErrorBoundaryProvider } from './hooks/ApiErrorBoundaryContext';
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<ApiErrorBoundaryProvider>
<App />
</ApiErrorBoundaryProvider>
);