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