We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633d9f3 commit 2ab57e2Copy full SHA for 2ab57e2
src/renderer/utils/notifications/notifications.ts
@@ -42,10 +42,8 @@ function getNotifications(state: GitifyState) {
42
export async function getAllNotifications(
43
state: GitifyState,
44
): Promise<AccountNotifications[]> {
45
- const responses = await Promise.all(getNotifications(state));
46
-
47
const notifications: AccountNotifications[] = await Promise.all(
48
- responses
+ getNotifications(state)
49
.filter((response) => !!response)
50
.map(async (accountNotifications) => {
51
try {
0 commit comments