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 1b10a2e commit 5f9d977Copy full SHA for 5f9d977
src/hooks/useNotifications.ts
@@ -96,13 +96,12 @@ export const useNotifications = (): NotificationsState => {
96
}
97
98
setIsFetching(true);
99
+ setRequestFailed(false);
100
101
return axios
102
.all([getGitHubNotifications(), ...getEnterpriseNotifications()])
103
.then(
104
axios.spread((gitHubNotifications, ...entAccNotifications) => {
- setRequestFailed(false);
105
-
106
const enterpriseNotifications = entAccNotifications.map(
107
(accountNotifications) => {
108
const { hostname } = new URL(accountNotifications.config.url);
0 commit comments