Skip to content

Commit 77af2f1

Browse files
authored
Merge pull request #785 from wickathou/hotfix/project-participant-export-ids
Hotfix - Added snackbar notification on failure for partner review pages
2 parents 591a64d + cb8b01d commit 77af2f1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • frontend/src/pages/_dashboard/renderDashboard/partner/projects

frontend/src/pages/_dashboard/renderDashboard/partner/projects/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ export default ({ event }) => {
6868
...dataOt,
6969
}
7070
setData(data)
71-
setProjects(data.projects)
71+
setProjects(data?.projects)
7272
} catch (err) {
73+
dispatch(SnackbarActions.error(`Error found: ${err.message}`))
7374
setError(true)
7475
} finally {
7576
setLoading(false)

0 commit comments

Comments
 (0)