fix(core): fix page loading shimmer (#5027)

This commit is contained in:
EYHN 2023-11-22 12:55:10 +00:00
parent d7d47853fe
commit 06203498da
No known key found for this signature in database
GPG Key ID: 46C9E26A75AB276C

View File

@ -158,7 +158,7 @@ export const DetailPage = (): ReactElement => {
// wait for page to be loaded
useEffect(() => {
if (page) {
if (!page.loaded) {
if (!page.isEmpty) {
setPageLoaded(true);
} else {
setPageLoaded(false);