diff --git a/src/routes/lazy.tsx b/src/routes/lazy.tsx index c061a924..026c7a62 100644 --- a/src/routes/lazy.tsx +++ b/src/routes/lazy.tsx @@ -1,13 +1,16 @@ -import { PropsWithChildren, Suspense } from 'react'; +import { ReactNode, Suspense, FC } from "react"; import Loading from "../common/component/Loading"; -type Props = {} -const Lazy = ({ children }: PropsWithChildren) => { - return ( - }> - {children} - - ); +type Props = { + children?: ReactNode; +} + +const Lazy: FC = ({ children }) => { + return ( + }> + {children} + + ); }; -export default Lazy; \ No newline at end of file +export default Lazy;