2021-11-27 15:16:36 +01:00

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>
)