Commit 5a862ace authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Merge branch 'fix/props-warning-memberlist' into 'master'

Fix props warning in MemberList

See merge request !193
parents 23311e49 8ec49192
......@@ -5,7 +5,7 @@ export const FAILURE = 'MEMBERS_FAILURE';
export const MORE = 'MEMBERS_MORE';
export const MORE_SUCCESS = 'MEMBERS_MORE_SUCCESS';
export function members(keywords = null) {
export function members(keywords = '') {
return {
type: MEMBERS,
payload: { keywords },
......
......@@ -11,7 +11,7 @@ const mapStateToProps = state => ({
});
const mapDispatchToProps = dispatch => ({
loadMembers: (keywords = null) => dispatch(memberActions.members(keywords)),
loadMembers: (keywords = '') => dispatch(memberActions.members(keywords)),
loadMoreMembers: url => dispatch(memberActions.more(url)),
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment