From 2360e774d94e271d1d9db0d5b92b801b9325535e Mon Sep 17 00:00:00 2001 From: ankit-thanekar007 Date: Thu, 25 Feb 2021 12:39:31 -0800 Subject: TMA-634-indentation and unused variables removed --- src/utils/common.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/utils/common.ts') diff --git a/src/utils/common.ts b/src/utils/common.ts index 8efe1f6a..6a8b66d3 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -88,7 +88,9 @@ export const haveUnreadNotifications = async ( continue; } const unread = lastViewed ? lastViewed.diff(notificationDate) < 0 : false; - if (unread) return true; + if (unread) { + return true; + } } return false; }; -- cgit v1.2.3-70-g09d2