mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 04:28:29 +00:00
25 lines
601 B
C#
25 lines
601 B
C#
|
using NftFaucetRadzen.Components;
|
||
|
using NftFaucetRadzen.Extensions;
|
||
|
|
||
|
namespace NftFaucetRadzen.Pages;
|
||
|
|
||
|
public class IndexComponent : 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");
|
||
|
}
|
||
|
}
|