feat: new user flow profile editor

This commit is contained in:
2023-05-10 11:41:38 +01:00
parent c36a3e0bc1
commit 59038d118e
15 changed files with 128 additions and 61 deletions

View File

@ -264,14 +264,7 @@ export default function ProfilePage() {
}
case FOLLOWS: {
if (isMe) {
return (
<>
<button onClick={() => navigate("/new/import")} className="mb10">
<FormattedMessage defaultMessage="Find Twitter follows" />
</button>
<FollowsList pubkeys={follows} showFollowAll={!isMe} showAbout={false} />;
</>
);
return <FollowsList pubkeys={follows} showFollowAll={!isMe} showAbout={false} />;
} else {
return <FollowsTab id={id} />;
}
@ -379,7 +372,7 @@ export default function ProfilePage() {
{isMe && blocked.length > 0 && renderTab(ProfileTab.Blocked)}
</div>
</div>
{tabContent()}
<div className="main-content">{tabContent()}</div>
</>
);
}