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: {
|
case FOLLOWS: {
|
||||||
if (isMe) {
|
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 {
|
} else {
|
||||||
return <FollowsTab id={id} />;
|
return <FollowsTab id={id} />;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user