diff --git a/src/components/Me.tsx b/src/components/Me.tsx index e84ad433..2d987e9d 100644 --- a/src/components/Me.tsx +++ b/src/components/Me.tsx @@ -449,8 +449,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) case 'reads': - // Show loading skeletons while fetching reads or if no data yet - if (reads.length === 0) { + // Show loading skeletons while fetching or if no data + if (reads.length === 0 || (loading && !loadedTabs.has('reads'))) { return (
{Array.from({ length: 6 }).map((_, i) => ( @@ -487,8 +487,8 @@ const Me: React.FC = ({ relayPool, activeTab: propActiveTab, pubkey: pr ) case 'links': - // Show loading skeletons while fetching links or if no data yet - if (links.length === 0) { + // Show loading skeletons while fetching or if no data + if (links.length === 0 || (loading && !loadedTabs.has('links'))) { return (
{Array.from({ length: 6 }).map((_, i) => (