overleaf/services/web/frontend/js/features/ide-react/components/history-root.tsx

12 lines
260 B
TypeScript
Raw Normal View History

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)