mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 04:28:29 +00:00
25 lines
613 B
C#
25 lines
613 B
C#
using NftFaucetRadzen.Components;
|
|
using NftFaucetRadzen.Extensions;
|
|
|
|
namespace NftFaucetRadzen.Pages;
|
|
|
|
public partial class IndexPage : BasicComponent
|
|
{
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
// if (!await Metamask.IsReady())
|
|
// {
|
|
// UriHelper.NavigateToRelative("/connect-metamask");
|
|
// return;
|
|
// }
|
|
//
|
|
// if (!AppState.IpfsContext.IsInitialized)
|
|
// {
|
|
// UriHelper.NavigateToRelative("/connect-ipfs");
|
|
// return;
|
|
// }
|
|
|
|
NavigationManager.NavigateToRelative("/networks");
|
|
}
|
|
}
|