mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove unnecessary optional chaining
This commit is contained in:
parent
2393749809
commit
59a38a253f
@ -128,7 +128,7 @@ class SettingsPage extends PureComponent {
|
||||
subheaderText = t(pathnameI18nKey || 'general')
|
||||
}
|
||||
|
||||
return !currentPath?.startsWith(NETWORKS_ROUTE) && (
|
||||
return !currentPath.startsWith(NETWORKS_ROUTE) && (
|
||||
<div className="settings-page__subheader">
|
||||
<div
|
||||
className={classnames({ 'settings-page__subheader--link': initialBreadCrumbRoute })}
|
||||
|
Loading…
Reference in New Issue
Block a user