From 1cc4795ef328b7184178c3757813c4c844433194 Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Tue, 6 Jul 2021 16:09:09 +0500 Subject: [PATCH] processed PR feedback typo fix add line end --- .../notification/container/notificationContainer.js | 8 ++++---- src/utils/b64.ts | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/screens/notification/container/notificationContainer.js b/src/screens/notification/container/notificationContainer.js index cc3a35764..9ed179ed3 100644 --- a/src/screens/notification/container/notificationContainer.js +++ b/src/screens/notification/container/notificationContainer.js @@ -32,11 +32,11 @@ class NotificationContainer extends Component { const { isConnected } = this.props; if (isConnected) { - this._getAvtivities(); + this._getActivities(); } } - _getAvtivities = (type = null, loadMore = false) => { + _getActivities = (type = null, loadMore = false) => { const { lastNotificationId, notifications, endOfNotification } = this.state; const since = loadMore ? lastNotificationId : null; @@ -151,7 +151,7 @@ class NotificationContainer extends Component { (nextProps.username !== username && nextProps.username) ) { this.setState({ endOfNotification: false }, () => - this._getAvtivities(selectedFilter), + this._getActivities(selectedFilter), ); } } @@ -162,7 +162,7 @@ class NotificationContainer extends Component { return ( Buffer.from(str) .toString('base64') - .replace(/(\+|\/|=)/g, (m) => b64uLookup[m]); \ No newline at end of file + .replace(/(\+|\/|=)/g, (m) => b64uLookup[m]); + \ No newline at end of file