latex-ub/services/web/frontend/js/features/ide-react/components/history-root.tsx
2025-05-05 12:24:05 +00:00

13 lines
450 B
TypeScript

import { memo } from 'react'
import { HistoryProvider } from '@/features/history/context/history-context'
import withErrorBoundary from '@/infrastructure/error-boundary'
import { ErrorBoundaryFallback } from '@/shared/components/error-boundary-fallback'
import History from './history'
const HistoryRoot = () => (
<HistoryProvider>
<History />
</HistoryProvider>
)
export default withErrorBoundary(memo(HistoryRoot), ErrorBoundaryFallback)