overleaf/services/web/frontend/js/features/ide-react/components/history-root.tsx
Alf Eaton 0dfb4d8de6 Lazy-load the React History view (#17290)
GitOrigin-RevId: 6d6ee5e993658e0895d9c2bcd4c2f60bba86c04e
2024-02-27 17:02:01 +00:00

11 lines
260 B
TypeScript

import { memo } from 'react'
import { HistoryProvider } from '@/features/history/context/history-context'
import History from './history'
const HistoryRoot = () => (
<HistoryProvider>
<History />
</HistoryProvider>
)
export default memo(HistoryRoot)