diff options
| author | Adam Soltys <[email protected]> | 2025-01-17 07:02:07 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-17 07:02:07 -0800 |
| commit | a817d337372854c028cc213cd46efd84b6bc14c8 (patch) | |
| tree | 8a2c8951268fa17984c5ac03695723c17540df75 /src | |
| parent | 7fafcbb681cc6c46e2d6973c7b86613a060187d9 (diff) | |
| download | coinos-ui-a817d337372854c028cc213cd46efd84b6bc14c8.tar.gz coinos-ui-a817d337372854c028cc213cd46efd84b6bc14c8.zip | |
follow list promise
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.server.ts b/src/routes/(app)/[username]/(profile)/+layout.server.ts index b8651b3c..8600039e 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.server.ts +++ b/src/routes/(app)/[username]/(profile)/+layout.server.ts @@ -8,7 +8,7 @@ export async function load({ depends, parent }) { const { subject, user } = await parent(); // const { follows, followers } = await get(`/${subject.pubkey}/count`); - // let followList = new Promise((r) => r([])); + let followList = new Promise((r) => r([])); // if (user) // followList = get(`/${user.pubkey}/follows?pubkeysOnly=true`).catch( // () => [], @@ -17,7 +17,7 @@ export async function load({ depends, parent }) { const follows = []; const followers = []; - const followList = []; + // const followList = []; return { follows, followers, followList, rate: rates[subject.currency] }; } |
