File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
arrowParens : 'avoid' ,
3
3
bracketSameLine : true ,
4
- bracketSpacing : false ,
5
4
singleQuote : true ,
6
5
trailingComma : 'all' ,
7
6
} ;
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ import {
26
26
} from 'react-native/Libraries/NewAppScreen' ;
27
27
import LearnReduxLinks from './src/components/LearnReduxLinks' ;
28
28
import Header from './src/components/Header' ;
29
- import { Counter } from './src/features/counter/Counter' ;
29
+ import { Counter } from './src/features/counter/Counter' ;
30
30
31
- declare const global : { HermesInternal : null | { } } ;
31
+ declare const global : { HermesInternal : null | { } } ;
32
32
33
33
const App = ( ) => {
34
34
return (
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
arrowParens : 'avoid' ,
3
3
bracketSameLine : true ,
4
- bracketSpacing : false ,
5
4
singleQuote : true ,
6
5
trailingComma : 'all' ,
7
6
} ;
Original file line number Diff line number Diff line change 2
2
* @format
3
3
*/
4
4
5
- import { AppRegistry } from 'react-native' ;
5
+ import { AppRegistry } from 'react-native' ;
6
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' ;
7
+ import { name as appName } from './app.json' ;
8
+ import { store } from './src/app/store' ;
9
+ import { Provider } from 'react-redux' ;
10
10
import React from 'react' ;
11
11
12
12
AppRegistry . registerComponent ( appName , ( ) => ( ) => (
13
- < Provider store = { store } >
14
- < App />
15
- </ Provider >
13
+ < React . StrictMode >
14
+ < Provider store = { store } >
15
+ < App />
16
+ </ Provider >
17
+ </ React . StrictMode >
16
18
) ) ;
You can’t perform that action at this time.
0 commit comments