File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 22 * @format
33 */
44
5- import { AppRegistry } from ' react-native' ;
6- import App from ' ./App' ;
7- import { name as appName } from ' ./app.json' ;
8- import { store } from ' ./src/app/store' ;
9- import { Provider } from ' react-redux' ;
10- import React from ' react' ;
5+ import { AppRegistry } from " react-native" ;
6+ import App from " ./App" ;
7+ import { name as appName } from " ./app.json" ;
8+ import { store } from " ./src/app/store" ;
9+ import { Provider } from " react-redux" ;
10+ import React from " react" ;
1111
1212AppRegistry . registerComponent ( appName , ( ) => ( ) => (
1313 < Provider store = { store } >
Original file line number Diff line number Diff line change 11{
2- "name" : " TestApp " ,
2+ "name" : " HelloWorld " ,
33 "version" : " 0.0.1" ,
44 "private" : true ,
55 "scripts" : {
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ export const counterSlice = createSlice({
1414 initialState,
1515 reducers : {
1616 increment : ( state ) => {
17- console . log ( 'What?' ) ;
1817 // Redux Toolkit allows us to write "mutating" logic in reducers. It
1918 // doesn't actually mutate the state because it uses the Immer library,
2019 // which detects changes to a "draft state" and produces a brand new
You can’t perform that action at this time.
0 commit comments