File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Components/Components/src/Auth Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public AuthorizeRouteView()
36
36
// Cache the rendering delegates so that we only construct new closure instances
37
37
// when they are actually used (e.g., we never prepare a RenderFragment bound to
38
38
// the NotAuthorized content except when you are displaying that particular state)
39
- var renderBaseRouteViewDelegate = ( RenderFragment ) base . Render ;
39
+ RenderFragment renderBaseRouteViewDelegate = builder => base . Render ( builder ) ;
40
40
_renderAuthorizedDelegate = authenticateState => renderBaseRouteViewDelegate ;
41
41
_renderNotAuthorizedDelegate = authenticationState => builder => RenderNotAuthorizedInDefaultLayout ( builder , authenticationState ) ;
42
42
_renderAuthorizingDelegate = RenderAuthorizingInDefaultLayout ;
You can’t perform that action at this time.
0 commit comments