Ускорить публикацию блоков в Arweave

This commit is contained in:
AidarKC
2026-10-03 16:39:35 +03:00
parent aca1e3054e
commit daa221a158
13 changed files with 629 additions and 240 deletions
-6
View File
@@ -30,8 +30,6 @@ export function render({ navigate, chrome }) {
function renderProfile() {
if (!card) return;
const official = card.accountRole === 'primary';
const shining = card.shineStatus === 'shining';
body.innerHTML = profileCardHtml({
card,
login,
@@ -42,8 +40,6 @@ export function render({ navigate, chrome }) {
].join(''),
}) + `
<div class="nav-list profile-more-list">
<button class="nav-row" type="button" data-profile-list="primary_given"><span class="nav-row__label">Подтверждённые мной аккаунты</span><span class="nav-row__hint">Аккаунты, за которые вы поручились</span></button>
<button class="nav-row" type="button" data-profile-list="shine_given"><span class="nav-row__label">Отмеченные мной как сияющие</span></button>
<button class="nav-row" type="button" data-self-profile-action="profiles"><span class="nav-row__label">Сменить профиль</span><span class="nav-row__hint">Другие аккаунты на этом устройстве</span></button>
</div>`;
@@ -55,8 +51,6 @@ export function render({ navigate, chrome }) {
avatar: card.avatar,
size: 'xl',
className: 'user-profile-hero-avatar',
glow: shining,
official,
}));
status.textContent = '';