This commit is contained in:
zeppi 2021-10-12 15:46:46 -04:00 committed by jessopb
parent 5088caef1e
commit aa766dc8ee

View file

@ -13,7 +13,6 @@ export const buildSharedStateMiddleware = (
) => ({ getState, dispatch }: { getState: () => { user: any, settings: any }, dispatch: (any) => void }) => (
next: ({}) => void
) => (action: { type: string, data: any }) => {
// 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') {
return next(action);