fix: llamada innecesaria a cargarSeguido

emmm skill issue?
This commit is contained in:
2026-01-16 01:29:24 -03:00
parent 6cf920799c
commit e4508a0487

View File

@@ -25,7 +25,6 @@
event: CustomEvent<{ userId: string; isFollowed: boolean } | { clearAll: true }> event: CustomEvent<{ userId: string; isFollowed: boolean } | { clearAll: true }>
) => { ) => {
if ('clearAll' in event.detail && event.detail.clearAll === true) { if ('clearAll' in event.detail && event.detail.clearAll === true) {
cargarSeguido();
} else if ('userId' in event.detail && event.detail.userId === post.authorId) { } else if ('userId' in event.detail && event.detail.userId === post.authorId) {
seguido = event.detail.isFollowed; seguido = event.detail.isFollowed;
} }