fix event type queries for pixels/links. remove hardcoded event types
This commit is contained in:
@@ -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} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user