refactor: remove redundant loading spinner above tabs

Removed the loading spinner that appeared above the tab bar since we now
show spinners in the empty states themselves, making this redundant.
This commit is contained in:
Gigi
2025-10-15 16:14:04 +02:00
parent d5a24f0a46
commit cb3748e06f

View File

@@ -346,12 +346,6 @@ const Me: React.FC<MeProps> = ({ relayPool, activeTab: propActiveTab, pubkey: pr
<div className="explore-header"> <div className="explore-header">
{viewingPubkey && <AuthorCard authorPubkey={viewingPubkey} clickable={false} />} {viewingPubkey && <AuthorCard authorPubkey={viewingPubkey} clickable={false} />}
{loading && hasData && (
<div className="explore-loading" style={{ display: 'flex', alignItems: 'center', gap: '0.5rem', padding: '0.5rem 0' }}>
<FontAwesomeIcon icon={faSpinner} spin />
</div>
)}
<div className="me-tabs"> <div className="me-tabs">
<button <button
className={`me-tab ${activeTab === 'highlights' ? 'active' : ''}`} className={`me-tab ${activeTab === 'highlights' ? 'active' : ''}`}