diff --git a/ImageBoardServerApp/Pages/Accounts/Register.razor b/ImageBoardServerApp/Pages/Accounts/Register.razor index d7b9ee2..2fa0b62 100644 --- a/ImageBoardServerApp/Pages/Accounts/Register.razor +++ b/ImageBoardServerApp/Pages/Accounts/Register.razor @@ -27,10 +27,7 @@


- @if (msg != null) - { - @msg - } + @msg @@ -39,7 +36,7 @@ private string Password { get; set; } private bool is18 { get; set; } - private string msg { get; set; } + public string msg { get; set; } = ""; private bool verified;