From f00efde72670431735ff3eb4ac3db94b1b7e366d Mon Sep 17 00:00:00 2001 From: Claude Code Assistant Date: Wed, 23 Jul 2025 12:26:50 +0100 Subject: [PATCH] Fix TypeScript build errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- src/components/invite/InviteForm.tsx | 1 - src/pages/InvitationPage.tsx | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/components/invite/InviteForm.tsx b/src/components/invite/InviteForm.tsx index b3314d5..0b6ee76 100644 --- a/src/components/invite/InviteForm.tsx +++ b/src/components/invite/InviteForm.tsx @@ -9,7 +9,6 @@ import { Box, Typography, Avatar, - alpha, useTheme, } from '@mui/material'; import { diff --git a/src/pages/InvitationPage.tsx b/src/pages/InvitationPage.tsx index 2021c22..9039f3b 100644 --- a/src/pages/InvitationPage.tsx +++ b/src/pages/InvitationPage.tsx @@ -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! ';