From 60b3c9e3bf85c55e5649f5b0956a47012d935ef5 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 5 Sep 2022 15:41:17 +0200 Subject: [PATCH] turn off by default --- libs/remix-ui/settings/src/lib/remix-ui-settings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx index 4b5da79895..e8a15d3a78 100644 --- a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx +++ b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx @@ -150,8 +150,8 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { const isMatomoChecked = props.config.get('settings/matomo-analytics') || false const isAutoCompleteChecked = props.config.get('settings/auto-completion') || false - const isShowGasInEditorChecked = props.config.get('settings/show-gas') === null ? true:props.config.get('settings/show-gas') - const displayErrorsChecked = props.config.get('settings/display-errors') === null ? true:props.config.get('settings/display-errors') + const isShowGasInEditorChecked = props.config.get('settings/show-gas') || false + const displayErrorsChecked = props.config.get('settings/display-errors') || false return (