import { Grid, Column, Text, Label } from '@umami/react-zen'; import { useEventDataQuery } from '@/components/hooks'; import { LoadingPanel } from '@/components/common/LoadingPanel'; export function EventData({ websiteId, eventId }: { websiteId: string; eventId: string }) { const { data, isLoading, error } = useEventDataQuery(websiteId, eventId); return ( {data?.map(({ dataKey, stringValue }) => { return ( {stringValue} ); })} ); }