Skip to content

Commit

Permalink
Merge pull request #1126 from navgurukul/DevBuild
Browse files Browse the repository at this point in the history
Dev build
  • Loading branch information
saloni-080601 authored Sep 16, 2024
2 parents 0eda952 + 1c02159 commit 40661e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/PathwayCourse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,14 @@ function PathwayCourse() {
localStorage.removeItem("contentListScroll");
}
} catch (error) {
//console.error('Error accessing localStorage:', error);
return {};
}
try {
if (localStorage.getItem("contentListScrollMobile")) {
localStorage.removeItem("contentListScrollMobile");
}
} catch (error) {
//console.error('Error accessing localStorage:', error);
//console.error('Error accessing localStorage:',);
return {};
}
}, []);
Expand Down

0 comments on commit 40661e2

Please sign in to comment.