feat: Twitter import button on follows tab
This commit is contained in:
parent
bffc8350e9
commit
4afdd5afd4
@ -263,7 +263,14 @@ export default function ProfilePage() {
|
||||
}
|
||||
case FOLLOWS: {
|
||||
if (isMe) {
|
||||
return <FollowsList pubkeys={follows} showFollowAll={!isMe} showAbout={false} />;
|
||||
return (
|
||||
<>
|
||||
<button onClick={() => navigate("/new/import")} className="mb10">
|
||||
<FormattedMessage defaultMessage="Find Twitter follows" />
|
||||
</button>
|
||||
<FollowsList pubkeys={follows} showFollowAll={!isMe} showAbout={false} />;
|
||||
</>
|
||||
);
|
||||
} else {
|
||||
return <FollowsTab id={id} />;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user