feat: mute/unmute on profile

This commit is contained in:
2023-07-30 11:07:22 +02:00
parent 249de1d9be
commit 811b1ceaec
7 changed files with 93 additions and 10 deletions

View File

@ -15,6 +15,7 @@ import { Icon } from "element/icon";
import { SendZapsDialog } from "element/send-zap";
import { VideoTile } from "element/video-tile";
import { FollowButton } from "element/follow-button";
import { MuteButton } from "element/mute-button";
import { useProfile } from "hooks/profile";
import useTopZappers from "hooks/top-zappers";
import { Text } from "element/text";
@ -131,6 +132,7 @@ export function ProfilePage() {
/>
)}
<FollowButton pubkey={link.id} />
<MuteButton pubkey={link.id} />
</div>
<div className="profile-information">
{profile?.name && <h1 className="name">{profile.name}</h1>}