Remove unnecessary optional chaining

feature/default_network_editable
Erik Marks 4 years ago
parent 2393749809
commit 59a38a253f
  1. 2
      ui/app/pages/settings/settings.component.js

@ -128,7 +128,7 @@ class SettingsPage extends PureComponent {
subheaderText = t(pathnameI18nKey || 'general') subheaderText = t(pathnameI18nKey || 'general')
} }
return !currentPath?.startsWith(NETWORKS_ROUTE) && ( return !currentPath.startsWith(NETWORKS_ROUTE) && (
<div className="settings-page__subheader"> <div className="settings-page__subheader">
<div <div
className={classnames({ 'settings-page__subheader--link': initialBreadCrumbRoute })} className={classnames({ 'settings-page__subheader--link': initialBreadCrumbRoute })}

Loading…
Cancel
Save