chore: remove profile OnlyZaps
This commit is contained in:
parent
9258253f65
commit
5ec7c1a765
@ -264,7 +264,7 @@ export default function NoteFooter(props: NoteFooterProps) {
|
||||
}
|
||||
|
||||
function reactionIcons() {
|
||||
if (!prefs.enableReactions || author?.reactions === false) {
|
||||
if (!prefs.enableReactions) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
|
@ -50,7 +50,6 @@ export default function ProfileSettings(props: ProfileSettingsProps) {
|
||||
setWebsite(user.website);
|
||||
setNip05(user.nip05);
|
||||
setLud16(user.lud16);
|
||||
setReactions(user.reactions);
|
||||
}
|
||||
}, [user]);
|
||||
|
||||
@ -66,7 +65,6 @@ export default function ProfileSettings(props: ProfileSettingsProps) {
|
||||
website,
|
||||
nip05,
|
||||
lud16,
|
||||
reactions,
|
||||
} as Record<string, string | number | undefined>;
|
||||
delete userCopy["loaded"];
|
||||
delete userCopy["created"];
|
||||
@ -169,17 +167,6 @@ export default function ProfileSettings(props: ProfileSettingsProps) {
|
||||
<input type="text" value={lud16} onChange={e => setLud16(e.target.value)} />
|
||||
</div>
|
||||
</div>
|
||||
<div className="form-group card">
|
||||
<div className="flex f-col">
|
||||
<FormattedMessage defaultMessage="OnlyZaps" />:
|
||||
<small>
|
||||
<FormattedMessage defaultMessage="Some clients will only allow zaps on your notes" />
|
||||
</small>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" checked={!reactions} onChange={e => setReactions(!e.target.checked)} />
|
||||
</div>
|
||||
</div>
|
||||
<div className="form-group card">
|
||||
<div></div>
|
||||
<div>
|
||||
|
@ -70,7 +70,6 @@ export type UserMetadata = {
|
||||
nip05?: string;
|
||||
lud06?: string;
|
||||
lud16?: string;
|
||||
reactions?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user