From 4b84ce898664de12bb2eb3784ef90bc49eaff34b Mon Sep 17 00:00:00 2001 From: limited_dev Date: Tue, 13 Jun 2023 14:37:33 +0200 Subject: [PATCH] fix: tried to fix the no output bug on register page Signed-off-by: limited_dev --- ImageBoardServerApp/Pages/Accounts/Register.razor | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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;