Fixes #1579 Exception when browsing to /login when you are already logged in
Added PageState.User check
This commit is contained in:
		| @ -98,7 +98,10 @@ | ||||
|     { | ||||
|         if (firstRender) | ||||
|         { | ||||
|             await username.FocusAsync(); | ||||
|             if(PageState.User == null) | ||||
|             { | ||||
|                 await username.FocusAsync(); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Leigh
					Leigh