Skip to content

Commit 30dbc7f

Browse files
author
Martin Krulis
committed
Bug in loadAsync of user profile page.
1 parent 49ed2c6 commit 30dbc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/User/User.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class User extends Component {
6767
dispatch(fetchUserIfNeeded(userId)).then(({ value: user }) => {
6868
const studentOf = safeGet(user, ['privateData', 'groups', 'studentOf'], []);
6969
const supervisorOf = safeGet(user, ['privateData', 'groups', 'supervisorOf'], []);
70-
dispatch((dispatch, getState) =>
70+
return dispatch((dispatch, getState) =>
7171
Promise.all(
7272
[...studentOf, ...supervisorOf]
7373
.filter(groupId => {

0 commit comments

Comments
 (0)