Show followers list
This commit is contained in:
parent
a7b0df4b24
commit
1c1cfe9b40
|
@ -95,7 +95,7 @@ export const AuthorView = (props: AuthorProps) => {
|
|||
})
|
||||
setCommented(data)
|
||||
} catch (error) {
|
||||
console.log('!!! error:', error)
|
||||
console.error('[getReactionsBy comment]', error)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -205,6 +205,13 @@ export const AuthorView = (props: AuthorProps) => {
|
|||
</ul>
|
||||
</div>
|
||||
</Match>
|
||||
<Match when={searchParams().by === 'followed'}>
|
||||
<div class="wide-container">
|
||||
<ul class={stylesArticle.comments}>
|
||||
<For each={followers()}>{(follower: Author) => <AuthorCard author={follower} />}</For>
|
||||
</ul>
|
||||
</div>
|
||||
</Match>
|
||||
<Match when={searchParams().by === 'rating'}>
|
||||
<Row1 article={sortedArticles()[0]} />
|
||||
<Row2 articles={sortedArticles().slice(1, 3)} isEqual={true} />
|
||||
|
|
Loading…
Reference in New Issue
Block a user