diff --git a/src/index.js b/src/index.js index 6a723ee..4780014 100644 --- a/src/index.js +++ b/src/index.js @@ -377,8 +377,6 @@ function createModificationsHandler( // Firing RUM event early since redirection will stop the rest of the JS execution fireRUM(type, config, pluginOptions, url); window.location.replace(url); - // eslint-disable-next-line consistent-return - return ns; } // eslint-disable-next-line no-await-in-loop res = await replaceInner(new URL(url, window.location.origin).pathname, el);