File tree Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -82,19 +82,15 @@ class RandomGifPair extends React.Component {
82
82
< RandomGif
83
83
showButton = { false }
84
84
apiKey = { this . props . apiKey }
85
- namespacePrefix = { `${
86
- this . componentManager . fullPath
87
- } /Gifs`}
85
+ namespacePrefix = { `${ this . componentManager . fullPath } /Gifs` }
88
86
appContainer = { appContainer }
89
87
/>
90
88
</ div >
91
89
< div >
92
90
< RandomGif
93
91
showButton = { false }
94
92
apiKey = { this . props . apiKey }
95
- namespacePrefix = { `${
96
- this . componentManager . fullPath
97
- } /Gifs`}
93
+ namespacePrefix = { `${ this . componentManager . fullPath } /Gifs` }
98
94
appContainer = { appContainer }
99
95
/>
100
96
</ div >
Original file line number Diff line number Diff line change @@ -83,19 +83,15 @@ class RandomGifPairPair extends React.Component {
83
83
< RandomGifPair
84
84
showButton = { false }
85
85
apiKey = { this . props . apiKey }
86
- namespacePrefix = { `${
87
- this . componentManager . fullPath
88
- } /GifPairs`}
86
+ namespacePrefix = { `${ this . componentManager . fullPath } /GifPairs` }
89
87
appContainer = { this . componentManager . appContainer }
90
88
/>
91
89
</ div >
92
90
< div >
93
91
< RandomGifPair
94
92
showButton = { false }
95
93
apiKey = { this . props . apiKey }
96
- namespacePrefix = { `${
97
- this . componentManager . fullPath
98
- } /GifPairs`}
94
+ namespacePrefix = { `${ this . componentManager . fullPath } /GifPairs` }
99
95
appContainer = { this . componentManager . appContainer }
100
96
/>
101
97
</ div >
@@ -125,9 +121,7 @@ class RandomGifPairPair extends React.Component {
125
121
* - There is an `ActionForwarder` outside this box already and will do all transformation job
126
122
*/ }
127
123
< ActionForwarder
128
- namespacePrefix = { `${
129
- this . componentManager . fullPath
130
- } /GifPairs`}
124
+ namespacePrefix = { `${ this . componentManager . fullPath } /GifPairs` }
131
125
pattern = { RandomGifPairActionTypes . NEW_GIF }
132
126
relativeDispatchPath = "../../../../*"
133
127
appContainer = { this . componentManager . appContainer }
@@ -140,9 +134,7 @@ class RandomGifPairPair extends React.Component {
140
134
* Thus, `relativeDispatchPath` should be "../*"
141
135
*/ }
142
136
< ActionForwarder
143
- namespacePrefix = { `${
144
- this . componentManager . fullPath
145
- } /GifPairs`}
137
+ namespacePrefix = { `${ this . componentManager . fullPath } /GifPairs` }
146
138
pattern = { action =>
147
139
action . type ===
148
140
RandomGifPairActionTypes . LOADING_START ||
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ import { ReducerOptions } from "./ReducerRegistry";
8
8
import { Reducer , Action } from "redux" ;
9
9
import { Task } from "redux-saga" ;
10
10
11
- export function createAppContainer (
12
- options : AppContainerOptions
13
- ) : AppContainer ;
11
+ export function createAppContainer ( options : AppContainerOptions ) : AppContainer ;
14
12
export function getAppContainer (
15
13
componentInstance ?: ManageableComponent
16
14
) : AppContainer ;
Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ class ComponentManagerRegistry {
40
40
register ( manager ) {
41
41
if ( this . componentManagerStore [ manager . fullPath ] ) {
42
42
throw new Error (
43
- `Try to register component to an existing path: ${
44
- manager . fullPath
45
- } `
43
+ `Try to register component to an existing path: ${ manager . fullPath } `
46
44
) ;
47
45
}
48
46
this . componentManagerStore [ manager . fullPath ] = manager ;
You can’t perform that action at this time.
0 commit comments