diff --git a/src/components/Explore.tsx b/src/components/Explore.tsx index dc2aecd8..e8fe4a2f 100644 --- a/src/components/Explore.tsx +++ b/src/components/Explore.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect, useMemo } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { faNewspaper, faHighlighter, faUser, faUserGroup, faNetworkWired, faArrowsRotate } from '@fortawesome/free-solid-svg-icons' +import { faNewspaper, faHighlighter, faUser, faUserGroup, faNetworkWired, faArrowsRotate, faSpinner } from '@fortawesome/free-solid-svg-icons' import IconButton from './IconButton' import { BlogPostSkeleton, HighlightSkeleton } from './Skeletons' import { Hooks } from 'applesauce-react' @@ -320,8 +320,8 @@ const Explore: React.FC = ({ relayPool, eventStore, settings, acti ) } return filteredBlogPosts.length === 0 ? ( -
-

No blog posts yet. Pull to refresh!

+
+
) : (
@@ -347,8 +347,8 @@ const Explore: React.FC = ({ relayPool, eventStore, settings, acti ) } return classifiedHighlights.length === 0 ? ( -
-

No highlights yet. Pull to refresh!

+
+
) : (
diff --git a/src/components/Me.tsx b/src/components/Me.tsx index 7ebda014..0d46c25e 100644 --- a/src/components/Me.tsx +++ b/src/components/Me.tsx @@ -197,12 +197,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) } return highlights.length === 0 ? ( -
-

- {isOwnProfile - ? 'No highlights yet. Pull to refresh!' - : 'No highlights yet. Pull to refresh!'} -

+
+
) : (
@@ -230,8 +226,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) } return allIndividualBookmarks.length === 0 ? ( -
-

No bookmarks yet. Pull to refresh!

+
+
) : (
@@ -295,8 +291,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) } return readArticles.length === 0 ? ( -
-

No read articles yet. Pull to refresh!

+
+
) : (
@@ -321,12 +317,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) } return writings.length === 0 ? ( -
-

- {isOwnProfile - ? 'No articles written yet. Pull to refresh!' - : 'No articles written yet. Pull to refresh!'} -

+
+
) : (