fix(wot): profile pref user wot #157
@ -21,12 +21,14 @@ export const PreferencesSetting = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (user?.pubkey) {
|
||||
const hexPubkey = user.pubkey as string
|
||||
fetchEventFromUserRelays(
|
||||
{
|
||||
kinds: [NDKKind.AppSpecificData],
|
||||
'#d': ['degmods']
|
||||
'#d': ['degmods'],
|
||||
authors: [hexPubkey]
|
||||
},
|
||||
user.pubkey as string,
|
||||
hexPubkey,
|
||||
UserRelaysType.Both
|
||||
).then((event) => {
|
||||
if (event) {
|
||||
@ -119,6 +121,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='notificationsSettings'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt inputLabelWrapperMainAltStylized'>
|
||||
@ -130,6 +133,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='notificationsSettings'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt inputLabelWrapperMainAltStylized'>
|
||||
@ -141,6 +145,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='notificationsSettings'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt inputLabelWrapperMainAltStylized'>
|
||||
@ -152,6 +157,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='notificationsSettings'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt inputLabelWrapperMainAltStylized'>
|
||||
@ -163,6 +169,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='notificationsSettings'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -212,6 +219,7 @@ export const PreferencesSetting = () => {
|
||||
className='CheckboxMain'
|
||||
name='WoTZap'
|
||||
checked
|
||||
readOnly
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user