Commit 49301812 authored by isstuev's avatar isstuev

hide add to wallet button if no rpc url

parent a65ef55a
......@@ -54,7 +54,7 @@ const NetworkAddToWallet = ({ className }: Props) => {
}
}, [ provider, toast ]);
if (!provider) {
if (!provider || !appConfig.network.rpcUrl) {
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment