fix: replace stale userId reference in invite button opacity

One userId reference survived the rename to email in WorkspaceSettingsForm,
causing a TypeScript build failure on Vercel.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
SinachPat
2026-05-06 22:19:12 +01:00
co-authored by Claude Sonnet 4.6
parent 233a117f5b
commit bbef7d73f8
@@ -129,7 +129,7 @@ function TeamInviteForm({ workspaceId }: { workspaceId: string }) {
style={{
...BTN_PRIMARY,
flexShrink: 0,
opacity: (status === 'loading' || !userId.trim()) ? 0.5 : 1,
opacity: (status === 'loading' || !email.trim()) ? 0.5 : 1,
transition: 'opacity 0.15s',
}}
>