Skip to content

Commit cb8b01d

Browse files
committed
Added optional chaining to partner reviewing page
1 parent c12cefe commit cb8b01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default ({ event }) => {
6868
...dataOt,
6969
}
7070
setData(data)
71-
setProjects(data.projects)
71+
setProjects(data?.projects)
7272
} catch (err) {
7373
dispatch(SnackbarActions.error(`Error found: ${err.message}`))
7474
setError(true)

0 commit comments

Comments
 (0)