frontend/src/index.tsx

19 lines
459 B
TypeScript
Raw Normal View History

2020-08-12 04:13:14 +02:00
import React from 'react';
import ReactDOM from 'react-dom';
import { App } from './App';
import { CASProvider } from './contexts/CASProvider';
import { LecturesProvider } from './contexts/LecturesProvider';
import { GlobalStyles } from './styles/GlobalStyles';
ReactDOM.render(
2020-08-12 04:13:14 +02:00
<>
<LecturesProvider>
<CASProvider>
<GlobalStyles />
<App />
</CASProvider>
</LecturesProvider>
</>,
document.getElementById('root'),
);