import { useWebsiteEventsQuery } from '@/components/hooks'; import { EventsTable } from './EventsTable'; import { DataGrid } from '@/components/common/DataGrid'; import { ReactNode } from 'react'; export function EventsDataTable({ websiteId, }: { websiteId?: string; teamId?: string; children?: ReactNode; }) { const queryResult = useWebsiteEventsQuery(websiteId); return ( {({ data }) => } ); }