diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx index b3d88b1b32..f2a73c1808 100644 --- a/web/pages/profile/activity.tsx +++ b/web/pages/profile/activity.tsx @@ -41,17 +41,19 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => { /> ); + const isLoadMoreVisible = pageCount < totalPages && resultsCount !== 0; + return ( <> - - + + themeStore.toggleSidebar()} /> Activity - + {activityPages} - {pageCount < totalPages && resultsCount !== 0 && ( + {isLoadMoreVisible && ( Load more