Skip to content

Commit f67dea9

Browse files
committed
chore: revert unneeded changes after reverting to pnpm 9
1 parent 8bb2af9 commit f67dea9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

apps/playground/src/app/App.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
1212
import { useRef } from 'react';
1313
import { SafeAreaProvider } from 'react-native-safe-area-context';
1414
import { Provider } from 'react-redux';
15+
import { mmkvStorages } from './mmkv-storages';
1516
import { BottomTabNavigator } from './navigation/BottomTabNavigator';
1617
import { SuccessiveScreensNavigator } from './navigation/SuccessiveScreensNavigator';
1718
import { RootStackParamList } from './navigation/types';
@@ -37,6 +38,10 @@ const Wrapper = () => {
3738
}
3839
}
3940
);
41+
useMMKVDevTools({
42+
storages: mmkvStorages,
43+
blacklist: /user-storage:sensitiveToken/,
44+
});
4045
usePerformanceMonitorDevTools();
4146

4247
return (
@@ -105,7 +110,6 @@ const linking = {
105110
};
106111

107112
export const App = () => {
108-
109113
const navigationRef = useRef<NavigationContainerRef<any>>(null);
110114

111115
useReactNavigationDevTools({

apps/playground/src/app/store.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { configureStore } from '@reduxjs/toolkit';
22
import counterReducer from './store/counterSlice';
3+
import { rozeniteDevToolsEnhancer } from '@rozenite/redux-devtools-plugin';
34

45
export const store = configureStore({
56
reducer: {
67
counter: counterReducer,
78
},
9+
enhancers: (getDefaultEnhancers) =>
10+
getDefaultEnhancers().concat(rozeniteDevToolsEnhancer()),
811
});
912

1013
export type RootState = ReturnType<typeof store.getState>;

0 commit comments

Comments
 (0)