mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-08 08:34:20 +02:00
17 lines
403 B
TypeScript
17 lines
403 B
TypeScript
import loadable from "@loadable/component"
|
|
|
|
import { Loading, ErrorBoundary } from "../../components"
|
|
import { Props, loadData } from "./KnowledgeStatsPage"
|
|
|
|
const Knowledges = loadable(() => import("./KnowledgeStatsPage"), {
|
|
fallback: <Loading />,
|
|
})
|
|
|
|
export default (props: Props): JSX.Element => (
|
|
<ErrorBoundary>
|
|
<Knowledges {...props} />
|
|
</ErrorBoundary>
|
|
)
|
|
|
|
export { loadData }
|