push-protocol / push-dapp

The Push Protocol Dapp
https://app.push.org
Other
42 stars 36 forks source link

Missing Notification Issue fixed #1599

Closed abhishek-01k closed 1 month ago

abhishek-01k commented 1 month ago

Pull Request Template

1592

Description

Some notifications were missing in the Inbox Channel Page. So here's what I did:

No change in the Redux state management.

Type of Change

Checklist

Frontend Guidelines

Build & Testing

Screenshots/Video with Explanation

Additional Context

Review & Approvals

github-actions[bot] commented 1 month ago
  1. Missing closing curly brace after the if block in the loadNotifications function.
  2. The variable bgUpdateLoading should be changed to setBgUpdateLoading in the fetchLatestNotifications function.
  3. The page: 1, line in the fetchLatestNotifications function seems to be misplaced or incomplete.
  4. The storeNotifications function is missing a closing curly brace.
  5. Typo: setAllFilter should be changed to setFilteredNotifications in the fetchAllNotif function.
  6. The fetchAllNotif function seems to have incomplete or misplaced code.
  7. The comparison operator in the showWayPoint function should be !== instead of ===.
  8. The logic inside the showWayPoint function seems incorrect. It might need to be revised based on the intended functionality.

After addressing the above points, the code review will be completed.

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-06-04 07:54 UTC

GeekyKartikey commented 1 month ago

Looks good to me