feat: PageContent loading

This commit is contained in:
DIYgod 2023-07-08 00:34:00 +01:00
parent 0d90104d75
commit 55fca842e5
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ const DynamicPageContent = dynamic(
() => import("~/components/common/PageContent"),
{
ssr: false,
loading: () => (
<div className="bg-white px-5 overflow-scroll pb-[200px] h-full flex-1 text-center">
Loading...
</div>
),
},
)