fix: pair code timer — expiresAt camelCase after snake→camel transform

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-27 11:11:41 +03:00
parent 4cfa98d7f0
commit 72f8582e97
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ function PairCodeModal({
useEffect(() => {
api.workstations.pairCode(slug, workstation.id).then(r => {
setCode(r.code)
setExpiresAt(r.expires_at)
setExpiresAt(r.expiresAt)
setLoading(false)
})
}, [slug, workstation.id])