diff --git a/src/components/PathwayCourse/index.js b/src/components/PathwayCourse/index.js index cbf7df98c..4cc626063 100644 --- a/src/components/PathwayCourse/index.js +++ b/src/components/PathwayCourse/index.js @@ -313,7 +313,6 @@ function PathwayCourse() { localStorage.removeItem("contentListScroll"); } } catch (error) { - //console.error('Error accessing localStorage:', error); return {}; } try { @@ -321,7 +320,7 @@ function PathwayCourse() { localStorage.removeItem("contentListScrollMobile"); } } catch (error) { - //console.error('Error accessing localStorage:', error); + //console.error('Error accessing localStorage:',); return {}; } }, []);