lint
This commit is contained in:
parent
5088caef1e
commit
aa766dc8ee
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ export const buildSharedStateMiddleware = (
|
||||||
) => ({ getState, dispatch }: { getState: () => { user: any, settings: any }, dispatch: (any) => void }) => (
|
) => ({ getState, dispatch }: { getState: () => { user: any, settings: any }, dispatch: (any) => void }) => (
|
||||||
next: ({}) => void
|
next: ({}) => void
|
||||||
) => (action: { type: string, data: any }) => {
|
) => (action: { type: string, data: any }) => {
|
||||||
|
|
||||||
// We don't care if sync is disabled here, we always want to backup preferences to the wallet
|
// We don't care if sync is disabled here, we always want to backup preferences to the wallet
|
||||||
if (!actions.includes(action.type) || typeof action === 'function') {
|
if (!actions.includes(action.type) || typeof action === 'function') {
|
||||||
return next(action);
|
return next(action);
|
||||||
|
|
Loading…
Reference in a new issue