Skip to content

Commit 0162893

Browse files
Update bootCmp.ts
1 parent b8a0020 commit 0162893

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dotcom-rendering/src/client/bootCmp.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ const initialiseCmp = async () => {
6666
const useNonAdvertisedList = allowRejectAll(isUserSignedIn);
6767

6868
const country = code ?? undefined;
69-
70-
window.addEventListener('popstate', () => {
71-
// SP needs to be informed when SPA navigation occurs
72-
console.log('CMP: popstate detected, executing messaging');
73-
// window._sp_?.executeMessaging?.();
74-
});
75-
7669
cmp.init({
7770
pubData: {
7871
platform: 'next-gen',

0 commit comments

Comments
 (0)