Fix TS build: remove unused isLoadingInvitees var and Select import

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-03-15 22:16:53 +08:00
parent 8652c9f2ce
commit a41b48f016
2 changed files with 1 additions and 2 deletions

View File

@ -258,7 +258,7 @@ export default function EventDetailPanel({
const eventNumericId = event && typeof event.id === 'number' ? event.id : null; const eventNumericId = event && typeof event.id === 'number' ? event.id : null;
const parentEventId = event?.parent_event_id ?? eventNumericId; const parentEventId = event?.parent_event_id ?? eventNumericId;
const { const {
invitees, isLoadingInvitees, invite, isInviting, respond: respondInvitation, invitees, invite, isInviting, respond: respondInvitation,
isResponding, override: overrideInvitation, leave: leaveInvitation, isLeaving, isResponding, override: overrideInvitation, leave: leaveInvitation, isLeaving,
} = useEventInvitations(parentEventId); } = useEventInvitations(parentEventId);
const { connections } = useConnectedUsersSearch(); const { connections } = useConnectedUsersSearch();

View File

@ -2,7 +2,6 @@ import { useState, useMemo } from 'react';
import { Users, UserPlus, Search, X } from 'lucide-react'; import { Users, UserPlus, Search, X } from 'lucide-react';
import { Input } from '@/components/ui/input'; import { Input } from '@/components/ui/input';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
import { Select } from '@/components/ui/select';
import type { EventInvitation, Connection } from '@/types'; import type { EventInvitation, Connection } from '@/types';
// ── Status display helpers ── // ── Status display helpers ──