Commit b5a66a63 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Change error to warning to make action exporting more consistent

parent e6fe811d
......@@ -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
}
}
import * as types from './actionTypes';
export default function login(username, password) {
export function login(username, password) {
return {
type: types.LOGIN,
success: password === '42',
......
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