From a19520de1ac8bc181e4c23af1429ef51e116080b Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Thu, 10 Aug 2023 21:43:47 +0200 Subject: [PATCH] disable electron logger --- electron/preload.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/electron/preload.js b/electron/preload.js index 80bf9917..8c7ba5a2 100644 --- a/electron/preload.js +++ b/electron/preload.js @@ -46,8 +46,8 @@ contextBridge.exposeInMainWorld('plebbitJsNativeFunctions', require('@plebbit/pl contextBridge.exposeInMainWorld('defaultPlebbitOptions', defaultPlebbitOptions) // try/catch localStorage.debug because causes unknown error sometimes -try { - if (isDev) localStorage.debug = 'plebbit-js:*,plebbit-react-hooks:*,plebchan:*'; -} catch (e) { - console.log(e); -} \ No newline at end of file +// try { +// if (isDev) localStorage.debug = 'plebbit-js:*,plebbit-react-hooks:*,plebchan:*'; +// } catch (e) { +// console.log(e); +// } \ No newline at end of file