Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darkruby501 committed Apr 25, 2024
1 parent aa5e31d commit 7107c9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lesswrong/components/posts/RecombeePostsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const RecombeePostsList = ({ algorithm, settings, limit = 15, classes }:

useOnMountTracking({
eventType: "postList",
// TODO: Remove postIds which is redundant once analytics dashboard written to use postIdsWithScenario
eventProps: { postIds, postIdsWithScenario, algorithm },
captureOnMount: (eventProps) => eventProps.postIds.length > 0,
skip: !postIds.length || loading,
Expand Down

0 comments on commit 7107c9c

Please sign in to comment.