mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 12:38:30 +00:00
25 lines
604 B
C#
25 lines
604 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;
|
|
// }
|
|
|
|
UriHelper.NavigateToRelative("/network");
|
|
}
|
|
}
|