2021-11-27 16:19:48 +01:00

15 lines
352 B
TypeScript
Executable File

import loadable from "@loadable/component"
import { Loading, ErrorBoundary } from "../../components"
import { Props } from "./LoginPage"
const LoginPage = loadable(() => import("./LoginPage"), {
fallback: <Loading />,
})
export default (props: Props): JSX.Element => (
<ErrorBoundary>
<LoginPage {...props} />
</ErrorBoundary>
)