@inject CustomAuthenticationStateProvider AuthStateProvider;
@inject State State;
👋
Hey, @(State.Name ?? "there").
Address Directory
@if (State.IsAuthorized) {
Feed
}
@foreach (AddressResponseData address in State.AddressList ?? new List()) {
State.SelectedAddress = address">
@address.Address
if (address.Address == State.SelectedAddressName) {
Profile
Statuslog
Pics
/Now
}
}
@if (State.IsAuthorized) {
AuthStateProvider.Logout()'>
Logout
}
else {
Login
}
@App.Name - @App.Version