fix event type queries for pixels/links. remove hardcoded event types

This commit is contained in:
Francis Cao 2025-10-01 12:29:31 -07:00
parent f86c21b25b
commit 1809959b99
14 changed files with 42 additions and 51 deletions

View file

@ -1,8 +1,8 @@
import { PixelPage } from './PixelPage';
import { Metadata } from 'next';
export default function ({ params }: { params: { pixelId: string } }) {
const { pixelId } = params;
export default async function ({ params }: { params: { pixelId: string } }) {
const { pixelId } = await params;
return <PixelPage pixelId={pixelId} />;
}