fix: pass name
This commit is contained in:
parent
291847cf95
commit
da7542601f
2
src/client/store/effects.js
vendored
2
src/client/store/effects.js
vendored
|
@ -52,7 +52,7 @@ const effects = {
|
|||
const id = idSelector(state);
|
||||
const otherId = id === addeeId ? adderId : addeeId;
|
||||
const name = usernamesSelector(state)[otherId];
|
||||
dispatch(submitJoin({channel: `/u/${name}`, id}));
|
||||
dispatch(submitJoin({channel: `/u/${name}`, id, name}));
|
||||
},
|
||||
[submitAddFavorite]: ({dispatch}, {payload}) => {
|
||||
dispatch(addToFavorites(payload));
|
||||
|
|
Loading…
Reference in New Issue
Block a user