1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Fix #19139 - Allow user to switch network when loading networking fails (#19175)

This commit is contained in:
David Walsh 2023-05-24 07:10:12 -05:00 committed by GitHub
parent 057188d155
commit 68e1958005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,7 @@ export default class LoadingNetworkScreen extends PureComponent {
<Popover
onClose={() => {
window.clearTimeout(this.cancelCallTimeout);
this.setState({ showErrorScreen: false });
}}
centerTitle
title={
@ -100,6 +101,7 @@ export default class LoadingNetworkScreen extends PureComponent {
<ButtonSecondary
onClick={() => {
window.clearTimeout(this.cancelCallTimeout);
this.setState({ showErrorScreen: false });
showNetworkDropdown();
}}
variant={TextVariant.bodySm}