cq

Distributed social media platform
git clone git://git.finwo.net/app/cq
Log | Files | Refs

commit d767b60c58a3664034b1c3bc7d1226f122c31469
parent 4e0bddd2b8e3186954ea3c1706a4f06a7a8306c7
Author: finwo <finwo@pm.me>
Date:   Sat, 13 Sep 2025 20:51:59 +0200

Don't need handles on selection page

Diffstat:
Mpackages/app/src/component/screen-account-select.tsx | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/app/src/component/screen-account-select.tsx b/packages/app/src/component/screen-account-select.tsx @@ -22,7 +22,7 @@ export const AccountSelectScreen = { vnode.state.accounts = []; const accountsHandle = await getDirectoryHandle('/local/accounts'); - for await (const [accountId, handle] of accountsHandle.entries()) { + for await (const accountId of accountsHandle.keys()) { try { const accountConfigHandle = await getFileHandle(`/local/accounts/${accountId}/config.json`) const accountConfig = JSON.parse(Buffer.from(await (await accountConfigHandle.getFile()).bytes()));