Upgrade redux-persist

Summary:
Last one blocking Greenkeeper.

Only change affecting us appears to be where to import from.

Reviewed By: jknoxville

Differential Revision: D17932089

fbshipit-source-id: b913defdabd99721886557d7c92afb8181ca1803
This commit is contained in:
Pascal Hartig
2019-10-16 02:31:11 -07:00
committed by Facebook Github Bot
parent 498fa2dc85
commit aa1f03a643
3 changed files with 9 additions and 3 deletions

View File

@@ -37,7 +37,8 @@ import JsonFileStorage from '../utils/jsonFileReduxPersistStorage';
import os from 'os';
import {resolve} from 'path';
import xdg from 'xdg-basedir';
import {persistReducer, PersistPartial} from 'redux-persist';
import {persistReducer} from 'redux-persist';
import {PersistPartial} from 'redux-persist/es/persistReducer';
import {Store as ReduxStore, MiddlewareAPI as ReduxMiddlewareAPI} from 'redux';
// @ts-ignore: explicitly need to import index.js, otherwise index.native.js is imported, because redux-persist assumes we are react-native, because we are using metro-bundler