Skip to content

Commit

Permalink
deploy button disappearance bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
isunaslabs committed Apr 7, 2023
1 parent 9c5c590 commit ceeff67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app-config/src/supportedNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import { darwinia } from "./chains/darwinia";
import { pangolin } from "./chains/pangolin";
import { pangoro } from "./chains/pangoro";

export const supportedNetworks: ChainConfig[] = [crab, pangoro];
export const supportedNetworks: ChainConfig[] = [crab];
2 changes: 1 addition & 1 deletion packages/app-providers/src/walletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export const WalletProvider = ({ children }: PropsWithChildren) => {

/*This will be fired once the connection to the wallet is successful*/
useEffect(() => {
if (!selectedNetwork || !isEthereumWalletConnected) {
if (!selectedNetwork) {
return;
}
//refresh the page with the newly selected account
Expand Down

0 comments on commit ceeff67

Please sign in to comment.