Skip to content

Commit

Permalink
Return accumulator on projects request error (#6348)
Browse files Browse the repository at this point in the history
Co-authored-by: Delilah C. <[email protected]>
  • Loading branch information
mcbouslog and goplayoutside3 authored Oct 2, 2024
1 parent a4e1edc commit 706a855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib-user/src/hooks/usePanoptesProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async function fetchProjects(query) {
return projectsAccumulator
} catch (error) {
console.error(error)
throw error
return projectsAccumulator
}
}

Expand Down

0 comments on commit 706a855

Please sign in to comment.