diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js index 54d914d..d67a186 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js @@ -108,7 +108,8 @@ export default function getApp(theState) { const ifNews = (() => { if (!(comments && comments.length)) { - const news = JSON.parse(localStorage[uiLastNewsArr]); + const json = localStorage[uiLastNewsArr]; + const news = json && JSON.parse(json); if (news) { this.setNewsStatusTo(news); return true;