chore: formatting
This commit is contained in:
@ -163,7 +163,14 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
|
||||
)}
|
||||
<div className="profile-wrapper w-max">
|
||||
<AvatarSection id={id} loginPubKey={loginPubKey} user={user} readonly={readonly} lnurl={lnurl} />
|
||||
<ProfileDetails user={user} loginPubKey={loginPubKey} id={id} aboutText={aboutText} lnurl={lnurl} showLnQr={true} />
|
||||
<ProfileDetails
|
||||
user={user}
|
||||
loginPubKey={loginPubKey}
|
||||
id={id}
|
||||
aboutText={aboutText}
|
||||
lnurl={lnurl}
|
||||
showLnQr={true}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content">
|
||||
|
@ -56,12 +56,13 @@ export function ProfileNotesTab({ id, relays, isMe }: { id: HexKey; relays?: Arr
|
||||
const pinned = usePinList(id);
|
||||
const options = useMemo(() => ({ showTime: false, showPinned: true, canUnpin: isMe }), [isMe]);
|
||||
const subject = useMemo(
|
||||
() => ({
|
||||
type: "pubkey",
|
||||
items: [id],
|
||||
discriminator: id.slice(0, 12),
|
||||
relay: relays,
|
||||
} as TimelineSubject),
|
||||
() =>
|
||||
({
|
||||
type: "pubkey",
|
||||
items: [id],
|
||||
discriminator: id.slice(0, 12),
|
||||
relay: relays,
|
||||
}) as TimelineSubject,
|
||||
[id, relays],
|
||||
);
|
||||
return (
|
||||
|
Reference in New Issue
Block a user