diff --git a/apps/events/src/components/debug-invitations.tsx b/apps/events/src/components/debug-invitations.tsx index d940c611..8b262315 100644 --- a/apps/events/src/components/debug-invitations.tsx +++ b/apps/events/src/components/debug-invitations.tsx @@ -1,7 +1,12 @@ import type { Invitation } from 'graph-framework'; import { Button } from './ui/button'; -export function DebugInvitations({ invitations }: { invitations: Invitation[] }) { +type Props = { + invitations: Invitation[]; + accept: (invitation: Invitation) => void; +}; + +export function DebugInvitations({ invitations, accept }: Props) { return (