|
|
@ -72,11 +72,11 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const generalConfig = () => { |
|
|
|
const generalConfig = () => { |
|
|
|
const isMetadataChecked = (props.config.get('settings/generate-contract-metadata') === null) || (props.config.get('settings/generate-contract-metadata') === undefined) ? false : props.config.get('settings/generate-contract-metadata') |
|
|
|
const isMetadataChecked = props.config.get('settings/generate-contract-metadata') || false |
|
|
|
const isEthereumVMChecked = (props.config.get('settings/always-use-vm') === null) || (props.config.get('settings/always-use-vm') === undefined) ? false : props.config.get('settings/always-use-vm') |
|
|
|
const isEthereumVMChecked = props.config.get('settings/always-use-vm') || false |
|
|
|
const isEditorWrapChecked = (props.config.get('settings/text-wrap') === null) || (props.config.get('settings/text-wrap') === undefined) ? false : props.config.get('settings/text-wrap') |
|
|
|
const isEditorWrapChecked = props.config.get('settings/text-wrap') || false |
|
|
|
const isPersonalChecked = (props.config.get('settings/personal-mode') === null) || (props.config.get('settings/personal-mode') === undefined) ? false : props.config.get('settings/personal-mode') |
|
|
|
const isPersonalChecked = props.config.get('settings/personal-mode') || false |
|
|
|
const isMatomoChecked = (props.config.get('settings/matomo-analytics') === null) || (props.config.get('settings/matomo-analytics') === undefined) ? false : props.config.get('settings/matomo-analytics') |
|
|
|
const isMatomoChecked = props.config.get('settings/matomo-analytics') || false |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="$border-top"> |
|
|
|
<div className="$border-top"> |
|
|
|