File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
1212import { useRef } from 'react' ;
1313import { SafeAreaProvider } from 'react-native-safe-area-context' ;
1414import { Provider } from 'react-redux' ;
15+ import { mmkvStorages } from './mmkv-storages' ;
1516import { BottomTabNavigator } from './navigation/BottomTabNavigator' ;
1617import { SuccessiveScreensNavigator } from './navigation/SuccessiveScreensNavigator' ;
1718import { RootStackParamList } from './navigation/types' ;
@@ -37,6 +38,10 @@ const Wrapper = () => {
3738 }
3839 }
3940 ) ;
41+ useMMKVDevTools ( {
42+ storages : mmkvStorages ,
43+ blacklist : / u s e r - s t o r a g e : s e n s i t i v e T o k e n / ,
44+ } ) ;
4045 usePerformanceMonitorDevTools ( ) ;
4146
4247 return (
@@ -105,7 +110,6 @@ const linking = {
105110} ;
106111
107112export const App = ( ) => {
108-
109113 const navigationRef = useRef < NavigationContainerRef < any > > ( null ) ;
110114
111115 useReactNavigationDevTools ( {
Original file line number Diff line number Diff line change 11import { configureStore } from '@reduxjs/toolkit' ;
22import counterReducer from './store/counterSlice' ;
3+ import { rozeniteDevToolsEnhancer } from '@rozenite/redux-devtools-plugin' ;
34
45export const store = configureStore ( {
56 reducer : {
67 counter : counterReducer ,
78 } ,
9+ enhancers : ( getDefaultEnhancers ) =>
10+ getDefaultEnhancers ( ) . concat ( rozeniteDevToolsEnhancer ( ) ) ,
811} ) ;
912
1013export type RootState = ReturnType < typeof store . getState > ;
You can’t perform that action at this time.
0 commit comments