build: format the code with prettier

This commit is contained in:
Tristan Yang
2023-05-19 16:31:28 +08:00
parent 7afc132bbb
commit 5bd0183651
259 changed files with 7627 additions and 5607 deletions
+4 -7
View File
@@ -1,16 +1,13 @@
import { ReactNode, Suspense, FC } from "react";
import { FC, ReactNode, Suspense } from "react";
import Loading from "@/components/Loading";
type Props = {
children?: ReactNode;
}
};
const Lazy: FC<Props> = ({ children }) => {
return (
<Suspense fallback={<Loading fullscreen={true} />}>
{children}
</Suspense>
);
return <Suspense fallback={<Loading fullscreen={true} />}>{children}</Suspense>;
};
export default Lazy;