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
b5a66a63
Commit
b5a66a63
authored
Feb 16, 2017
by
Wietse Kuipers
Browse files
Change error to warning to make action exporting more consistent
parent
e6fe811d
Changes
2
Hide whitespace changes
Inline
Side-by-side
.eslintrc.json
View file @
b5a66a63
...
...
@@ -43,7 +43,8 @@
"react-native/no-inline-styles"
:
2
,
"react-native/no-color-literals"
:
2
,
"react/jsx-filename-extension"
:
0
,
"react/prefer-stateless-function"
:
1
"react/prefer-stateless-function"
:
1
,
"import/prefer-default-export"
:
1
}
}
app/actions/login.js
View file @
b5a66a63
import
*
as
types
from
'
./actionTypes
'
;
export
default
function
login
(
username
,
password
)
{
export
function
login
(
username
,
password
)
{
return
{
type
:
types
.
LOGIN
,
success
:
password
===
'
42
'
,
...
...
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