Skip to content

Commit

Permalink
Merge pull request #9 from hyperse-io/feat/track
Browse files Browse the repository at this point in the history
chore: update example
  • Loading branch information
tianyingchun authored Aug 25, 2024
2 parents e649eaf + 68076fe commit 7315b35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/next-example/track/report-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export class ReportAdapter extends BaseAdapter<
>
| undefined
): boolean | Promise<boolean> {
return this.isEventOfReportDataEqual(eventType, reportData, [
'addCart',
'pageView',
]);
return true;
}

protected report<EventType extends keyof ReportRealEventData>(
Expand Down

0 comments on commit 7315b35

Please sign in to comment.