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
8ec49192
Verified
Commit
8ec49192
authored
Aug 30, 2018
by
Sébastiaan Versteeg
Browse files
Fix props warning in MemberList
parent
23311e49
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/actions/members.js
View file @
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
},
...
...
app/ui/screens/memberList/MemberListScreenContainer.js
View file @
8ec49192
...
...
@@ -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