Skip to content

Commit

Permalink
remove details object from customEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
dskamiotis committed Feb 6, 2024
1 parent 3396d43 commit 694fb8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ class Crossword extends Component {
};
// Trigger the custom event when component has loaded for ad slot in commercial
useEffect(() => {
const customEvent = new CustomEvent('crossword-loaded', {detail: {source: 'frontend_bundle'}});
const customEvent = new CustomEvent('crossword-loaded');
window.dispatchEvent(customEvent);
});

Expand Down

0 comments on commit 694fb8a

Please sign in to comment.