From ec2385340794b8e40c7cbb6efd3643e8e1ec296f Mon Sep 17 00:00:00 2001 From: Pokai Chang Date: Sat, 3 Aug 2024 01:11:49 +0800 Subject: [PATCH] remove redux-middleware-flipper --- App/app/redux/store.ts | 20 ++++++++++---------- App/package.json | 1 - App/yarn.lock | 5 ----- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/App/app/redux/store.ts b/App/app/redux/store.ts index 52dcc1ec..369118f0 100644 --- a/App/app/redux/store.ts +++ b/App/app/redux/store.ts @@ -95,16 +95,16 @@ export const store = configureStore({ }, }).concat(logger); - if (__DEV__) { - const reduxDebugger = require('redux-middleware-flipper').default; - middleware.push( - reduxDebugger({ - actionsBlacklist: [], - actionsWhitelist: [], - actionReplayDelay: 500, - }), - ); - } + // if (__DEV__) { + // const reduxDebugger = require('redux-middleware-flipper').default; + // middleware.push( + // reduxDebugger({ + // actionsBlacklist: [], + // actionsWhitelist: [], + // actionReplayDelay: 500, + // }), + // ); + // } return middleware; }, diff --git a/App/package.json b/App/package.json index ebc051d2..8611bba5 100644 --- a/App/package.json +++ b/App/package.json @@ -101,7 +101,6 @@ "react-native-vision-camera": "^2.15.4", "react-redux": "^8.0.7", "redux": "^5.0.0-beta.0", - "redux-middleware-flipper": "^1.0.9", "redux-persist": "^6.0.0", "redux-persist-sensitive-storage": "^1.0.0", "stream": "^0.0.2", diff --git a/App/yarn.lock b/App/yarn.lock index d1d6b689..31ebfde1 100644 --- a/App/yarn.lock +++ b/App/yarn.lock @@ -14136,11 +14136,6 @@ recast@^0.21.0: source-map "~0.6.1" tslib "^2.0.1" -redux-middleware-flipper@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/redux-middleware-flipper/-/redux-middleware-flipper-1.0.9.tgz#cdcb21e1a6500c1c94d5d5a2d7ac02cb4382c60a" - integrity sha512-8TrWjHpnj/lFuy5VLVsidHwnOf5TGAxsJNaBCopx8Nreda6VjjSazfWF4WyIe8FVkOWiIyOkbrKilbVsuzUwlw== - redux-persist-sensitive-storage@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/redux-persist-sensitive-storage/-/redux-persist-sensitive-storage-1.0.0.tgz#19f5e5bd8ce4c4a4bc852eec61d18360abe07b66"