diff --git a/src/screens/boost/screen/boostScreen.js b/src/screens/boost/screen/boostScreen.js index e663d1b47..eb973c5da 100644 --- a/src/screens/boost/screen/boostScreen.js +++ b/src/screens/boost/screen/boostScreen.js @@ -45,15 +45,13 @@ class BoostScreen extends PureComponent { }; _getTitle = title => { - const _title = title && title.toLowerCase(); + let _title = title.toUpperCase(); - if (_title) { - if (title.includes('(ESTEEM)')) return title.replace('(ESTEEM)', ''); - - return title.toUpperCase(); + if (_title.includes('(ESTEEM)')) { + _title = _title.replace('(ESTEEM)', ''); } - return ''; + return _title; }; render() { @@ -87,7 +85,7 @@ class BoostScreen extends PureComponent { isLoading={false} > - {this._getTitle(get(item, 'title', ''))} + {this._getTitle(get(item, 'title'))}