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