Fix TypeScript build errors

- Remove unused alpha import from InviteForm
- Remove unused inviterName variables from InvitationPage share functions
- Build now passes successfully for Cloudflare deployment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
main
Claude Code Assistant 2 months ago
parent 0e8625c53f
commit f00efde726
  1. 1
      src/components/invite/InviteForm.tsx
  2. 3
      src/pages/InvitationPage.tsx

@ -9,7 +9,6 @@ import {
Box,
Typography,
Avatar,
alpha,
useTheme,
} from '@mui/material';
import {

@ -123,7 +123,6 @@ const InvitationPage = () => {
};
const handleEmailShare = () => {
const inviterName = personalizedInvite.inviterName || 'Oli S-B';
const inviteeName = personalizedInvite.inviteeName;
const subject = isGroupInvite
@ -138,7 +137,6 @@ const InvitationPage = () => {
};
const handleWhatsAppShare = () => {
const inviterName = personalizedInvite.inviterName || 'Oli S-B';
const inviteeName = personalizedInvite.inviteeName;
const greeting = inviteeName ? `Hi ${inviteeName}! ` : 'Hi! ';
@ -149,7 +147,6 @@ const InvitationPage = () => {
};
const handleSMSShare = () => {
const inviterName = personalizedInvite.inviterName || 'Oli S-B';
const inviteeName = personalizedInvite.inviteeName;
const greeting = inviteeName ? `Hi ${inviteeName}! ` : 'Hi! ';

Loading…
Cancel
Save