@@ -345,24 +343,25 @@ const Profile = (props) => {
changeTab('Squeaks&Replies')} className={activeTab ==='Squeaks&Replies' ? `profile-nav-item activeTab` : `profile-nav-item`}>
Squeaks & replies
-
changeTab('Media')} className={activeTab ==='Media' ? `profile-nav-item activeTab` : `profile-nav-item`}>
- Media
-
-
changeTab('Likes')} className={activeTab ==='Likes' ? `profile-nav-item activeTab` : `profile-nav-item`}>
- Likes
+
changeTab('Liked')} className={activeTab ==='Liked' ? `profile-nav-item activeTab` : `profile-nav-item`}>
+ Liked
{activeTab === 'Squeaks' ?
profileSqueaks.map(t=>{
if(!t.getReplyTo())
return
- }) : activeTab === 'Squeaks&Replies' ?
+ }) :
+ activeTab === 'Squeaks&Replies' ?
profileSqueaks.map(t=>{
return
}) :
- activeTab === 'Likes' ?
- null: activeTab === 'Media' ?
- null: null}
+ activeTab === 'Liked' ?
+ profileSqueaks.map(t=>{
+ if(t.getLikedTimeMs())
+ return
+ }) :
+ null}
{/* TODO: fix get loading state by doing this: https://medium.com/stashaway-engineering/react-redux-tips-better-way-to-handle-loading-flags-in-your-reducers-afda42a804c6 */}
{profileSqueaks.length > 0 &&
<>
@@ -409,14 +408,14 @@ const Profile = (props) => {