Skip to content

Commit

Permalink
fix: removed parentheses that was causing error
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Jun 18, 2024
1 parent 2736135 commit 9349383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/demo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async function main() {
);

// Add listeners to the required events.
adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, onAdError());
adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, onAdError);
adsManager.addEventListener(
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
onContentPauseRequested
Expand Down

0 comments on commit 9349383

Please sign in to comment.