Skip to content

Commit

Permalink
deintegrated flipper from redux store
Browse files Browse the repository at this point in the history
  • Loading branch information
noumantahir committed Jan 14, 2025
1 parent 0fb56cd commit 0ee240a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/redux/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ const middleware = [thunk];

let enhancers;
if (__DEV__) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const createDebugger = require('redux-flipper').default;

// eslint-disable-next-line @typescript-eslint/no-var-requires
const Reactotron = require('../../../reactotron-config').default;
middleware.push(createDebugger());
enhancers = compose(applyMiddleware(...middleware), Reactotron.createEnhancer());
} else {
enhancers = applyMiddleware(...middleware);
Expand Down

0 comments on commit 0ee240a

Please sign in to comment.