your personal website on atproto - mirror blento.app

formatting

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