Fix UI for activity feed initial empty state (#1742)

This commit is contained in:
gillespi314
2021-08-20 22:13:45 -05:00
committed by GitHub
parent ad18728ac3
commit bd38cc1fe9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Minor change: Remove "You have no more recorded activity" message for initial empty state (i.e. on first setup)
@@ -165,7 +165,7 @@ const ActivityFeed = (): JSX.Element => {
Load more
</Button>
)}
{!isLoadingError && !isLoading && !showMore && (
{!isLoadingError && !isLoading && !isEmpty(activities) && !showMore && (
<div className={`${baseClass}__no-more-activities`}>
<p>You have no more recorded activity.</p>
</div>