tidy
This commit is contained in:
@@ -6,10 +6,10 @@ public class NavigateHandler(ComponentScope scope,
|
||||
IComponentScopeProvider provider) :
|
||||
INotificationHandler<Navigate>
|
||||
{
|
||||
public async Task Handle(Navigate args,
|
||||
public async Task Handle(Navigate args,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
if (provider.Get(args.Scope ?? scope.Name)
|
||||
if (provider.Get(args.Scope ?? scope.Name)
|
||||
is ComponentScopeDescriptor descriptor)
|
||||
{
|
||||
if (descriptor?.Services?.GetService<INavigationScope>() is INavigationScope navigationScope)
|
||||
@@ -19,4 +19,4 @@ public class NavigateHandler(ComponentScope scope,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user