diff options
author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-02-25 12:39:31 -0800 |
---|---|---|
committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-02-25 12:39:31 -0800 |
commit | 2360e774d94e271d1d9db0d5b92b801b9325535e (patch) | |
tree | a51dd5fb2d7a2d39f48d5631448ba58a4a6e693c /src/utils | |
parent | 47053e42a60151f04cb8a18ea86e4a96d03103b8 (diff) |
TMA-634-indentation and unused variables removed
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/common.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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; }; |