mirror of
https://github.com/NoCrypt/migu.git
synced 2026-05-16 14:51:47 +00:00
fix: duplicate following entries
This commit is contained in:
parent
81e6c65fcf
commit
8d07e4d4e6
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#await following then res}
|
{#await following then res}
|
||||||
{@const following = res?.data?.Page?.mediaList}
|
{@const following = [...new Map(res?.data?.Page?.mediaList.map(item => [item.user.name, item])).values()]}
|
||||||
{#if following?.length}
|
{#if following?.length}
|
||||||
<div class='w-full d-flex flex-row align-items-center pt-20 mt-10'>
|
<div class='w-full d-flex flex-row align-items-center pt-20 mt-10'>
|
||||||
<hr class='w-full' />
|
<hr class='w-full' />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue