mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-28 15:45:23 +08:00
Update/Fix Prettier + Eslint config for codebase
Run Prettier/Eslint on entire codebase, fix issues
This commit is contained in:
committed by
Adam Miskiewicz
parent
a301b41479
commit
f3a958dca1
@@ -7,11 +7,10 @@ const RESET = namespacedAction('RESET');
|
||||
const SET_PARAMS = namespacedAction('SET_PARAMS');
|
||||
const URI = namespacedAction('URI');
|
||||
|
||||
const createAction = (type: string) =>
|
||||
(payload: Object = {}) => ({
|
||||
type,
|
||||
...payload,
|
||||
});
|
||||
const createAction = (type: string) => (payload: Object = {}) => ({
|
||||
type,
|
||||
...payload,
|
||||
});
|
||||
|
||||
const back = createAction(BACK);
|
||||
const init = createAction(INIT);
|
||||
@@ -44,7 +43,7 @@ const mapDeprecatedActionAndWarn = (action: Object) => {
|
||||
"the 'actions' object.",
|
||||
'See https://github.com/react-community/react-navigation/pull/120 for',
|
||||
'more details.',
|
||||
].join(' '),
|
||||
].join(' ')
|
||||
);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user