File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/yoroi-extension/app/containers/wallet Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ import { withYoroiRemoteConfig } from '../../UI/common/helpers/withYoroiRemoteCo
37
37
38
38
type Props = { |
39
39
+ children : Node ,
40
- + yoroiRemoteConfigQuery : ReturnType < typeof useYoroiRemoteConfig > ,
40
+ + stores ? : any ,
41
+ + yoroiRemoteConfigQuery ?: ReturnType < typeof useYoroiRemoteConfig > ,
41
42
| } ;
42
43
43
44
@observer
@@ -154,7 +155,8 @@ class Wallet extends Component<{| ...Props, ...StoresProps |}> {
154
155
getDialogs : ( any , any ) = > Node = ( intl , currentPool ) => {
155
156
const { stores } = this . props ;
156
157
const isOpen = stores . uiDialogs . isOpen ;
157
- const { data } = this . props . yoroiRemoteConfigQuery ;
158
+ const query = this . props . yoroiRemoteConfigQuery ;
159
+ const data = query ?. data ;
158
160
159
161
const isRevampDialogOpen = isOpen ( RevampAnnouncementDialog ) ;
160
162
const selectedWallet = stores . wallets . selected ;
You can’t perform that action at this time.
0 commit comments