Skip to content

Commit 01228d4

Browse files
committed
fix: add fetch lock
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent cf2fe4b commit 01228d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/renderer/hooks/useNotifications.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ export const useNotifications = (): NotificationsState => {
136136
raiseNativeNotification(diffNotifications);
137137
}
138138
}
139-
} finally {
139+
140140
setStatus('success');
141+
} finally {
141142
isFetchingRef.current = false;
142143
}
143144
},

0 commit comments

Comments
 (0)