mirror of
https://github.com/NoCrypt/migu.git
synced 2026-01-11 20:10:22 +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>
|
||||
|
||||
{#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}
|
||||
<div class='w-full d-flex flex-row align-items-center pt-20 mt-10'>
|
||||
<hr class='w-full' />
|
||||
|
|
|
|||
Loading…
Reference in a new issue