fix(sprint-5/etapa-4b): library useEffect usa user.id no user ref — corta contención processLock en guardar perfil
Some checks failed
/ Deploy to Cloudflare Pages (push) Has been cancelled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 00:57:16 -03:00
parent 224b3bc5e7
commit dd361b1b12
2 changed files with 2 additions and 7 deletions

View File

@@ -757,7 +757,7 @@ export function LibraryPage() {
useEffect(() => {
if (!user) return // no fetchear hasta tener usuario confirmado (evita race condition con sesión Supabase)
load()
}, [load, user])
}, [load, user?.id])
function navigateToGroup(groupId: string | null) {
setTransitioning(true)