mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-01 13:10:44 -03:00
fix: llamada innecesaria a cargarSeguido
emmm skill issue?
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
event: CustomEvent<{ userId: string; isFollowed: boolean } | { clearAll: true }>
|
||||
) => {
|
||||
if ('clearAll' in event.detail && event.detail.clearAll === true) {
|
||||
cargarSeguido();
|
||||
} else if ('userId' in event.detail && event.detail.userId === post.authorId) {
|
||||
seguido = event.detail.isFollowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user