your personal website on atproto - mirror blento.app

formatting

+4 -4
+3 -1
src/lib/website/Context.svelte
··· 19 // svelte-ignore state_referenced_locally 20 setAdditionalUserData(data.additionalData); 21 22 - setCanEdit(() => dev || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true)); 23 24 // svelte-ignore state_referenced_locally 25 setDidContext(data.did as Did);
··· 19 // svelte-ignore state_referenced_locally 20 setAdditionalUserData(data.additionalData); 21 22 + setCanEdit( 23 + () => dev || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true) 24 + ); 25 26 // svelte-ignore state_referenced_locally 27 setDidContext(data.did as Did);
+1 -3
src/lib/website/EditableWebsite.svelte
··· 201 document.body.style.removeProperty('padding-right'); 202 document.body.style.removeProperty('margin-right'); 203 // Remove any orphaned dialog overlay/content elements left by the portal 204 - for (const el of document.querySelectorAll( 205 - '[data-dialog-overlay], [data-dialog-content]' 206 - )) { 207 el.remove(); 208 } 209 };
··· 201 document.body.style.removeProperty('padding-right'); 202 document.body.style.removeProperty('margin-right'); 203 // Remove any orphaned dialog overlay/content elements left by the portal 204 + for (const el of document.querySelectorAll('[data-dialog-overlay], [data-dialog-content]')) { 205 el.remove(); 206 } 207 };