diff --git a/src/js/helpers/modules/cookieHelper.js b/src/js/helpers/modules/cookieHelper.js index e68459862..1a7189dff 100644 --- a/src/js/helpers/modules/cookieHelper.js +++ b/src/js/helpers/modules/cookieHelper.js @@ -56,7 +56,7 @@ const deleteCookieByValue = (searchValue) => { if (cookieValue === searchValue) { deleteCookie(cookieName) - return cookieName + return cookieName.trim() } }