(event: FormEvent)
| 71 | }; |
| 72 | |
| 73 | const redeem = (event: FormEvent) => { |
| 74 | event.preventDefault(); |
| 75 | const trimmed = code.trim(); |
| 76 | if (!trimmed) return; |
| 77 | // Forward to the join page, which collects name/email/password and redeems. |
| 78 | window.location.href = `/join/${encodeURIComponent(trimmed)}`; |
| 79 | }; |
| 80 | |
| 81 | return ( |
| 82 | <AuthLayout> |
nothing calls this directly
no outgoing calls
no test coverage detected