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 | 47614f4d9916f4ac9d95233417dab71486093ee5 (patch) | |
| tree | 8a2c8951268fa17984c5ac03695723c17540df75 /src | |
| parent | d6ed5f3162b8109e23d07416dc4d5219467758f1 (diff) | |
| download | coinos-ui-47614f4d9916f4ac9d95233417dab71486093ee5.tar.gz coinos-ui-47614f4d9916f4ac9d95233417dab71486093ee5.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] }; } |
