Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
5a862ace
Commit
5a862ace
authored
Sep 02, 2018
by
Gijs Hendriksen
Browse files
Merge branch 'fix/props-warning-memberlist' into 'master'
Fix props warning in MemberList See merge request
!193
parents
23311e49
8ec49192
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/actions/members.js
View file @
5a862ace
...
...
@@ -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
},
...
...
app/ui/screens/memberList/MemberListScreenContainer.js
View file @
5a862ace
...
...
@@ -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
)),
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment