File tree 3 files changed +9
-10
lines changed
extension-polkagate/src/components
3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ export * from './contexts';
31
31
export { default as Convictions } from './Convictions' ;
32
32
export { default as CopyAddressButton } from './CopyAddressButton' ;
33
33
export { default as DisplayInfo } from './DisplayInfo' ;
34
- export { default as ErrorBoundary } from '../../../extension-ui/src/Popup/components/ErrorBoundary' ;
35
34
export { default as FormatBalance } from './FormatBalance' ;
36
35
export { default as FormatBalance2 } from './FormatBalance2' ;
37
36
export { default as FormatPrice } from './FormatPrice' ;
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ interface RouteWrapperProps {
11
11
props ?: Record < string , unknown > ;
12
12
}
13
13
14
- const RouteWrapper = ( { component : Component , props, trigger } : RouteWrapperProps ) => (
15
- < ErrorBoundary trigger = { trigger } >
16
- < Component { ... props } / >
17
- </ ErrorBoundary >
18
- ) ;
19
-
20
- export default React . memo ( RouteWrapper ) ;
14
+ export default function RouteWrapper ( { component : Component , props, trigger } : RouteWrapperProps ) {
15
+ return (
16
+ < ErrorBoundary trigger = { trigger } >
17
+ < Component { ... props } / >
18
+ </ ErrorBoundary >
19
+ ) ;
20
+ }
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ const IMPORT_ROUTES: RouteConfig[] = [
173
173
{
174
174
Component : ImportProxiedFullScreen ,
175
175
path : '/import/proxied-full-screen' ,
176
- trigger : 'import-add-watch-only -full-screen'
176
+ trigger : 'import-proxied -full-screen'
177
177
}
178
178
] ;
179
179
@@ -198,7 +198,7 @@ const STAKING_ROUTES: RouteConfig[] = [
198
198
{
199
199
Component : PoolInformation ,
200
200
path : '/pool/myPool/:address' ,
201
- trigger : 'pool-poolInfromation '
201
+ trigger : 'pool-poolInformation '
202
202
} ,
203
203
{
204
204
Component : PoolNominations ,
You can’t perform that action at this time.
0 commit comments