@page "/person/{Address}"
@inject State State
@Address
@if (bio == null)
{
Getting Bio...
}
else {
@bio
}
@code {
[Parameter]
public string Address { get; set; }
private MarkupString? bio;
protected override async Task OnInitializedAsync() {
bio = await State.GetBio(Address);
}
}