StateHasChanged() does not reload page

Issue: As mentioned in Title, StateHasChanged does not re-render the page Objective: I want to Refresh the page when a button is clicked Current Code <button @onclick=”CreatePlayer” type=”submit”>Create User</button> @functions { string username; [CascadingParameter] Task<AuthenticationState> authenticationStateTask { get; set; } async Task CreatePlayer() { var authState = await authenticationStateTask; var user = authState.User; var player…

Details

Service doesn’t start upon sever restart

I have the following script in the /etc/systemd/system/ folder # Start the ruby on rails app on boot [Unit] Description=Start Ruby Online Ordering Application [Service] Type=simple RemainAfterExit=yes Username=root PIDFile=/home/deviant/www/tmp/pids/server.pid WorkingDirectory=/home/deviant/www ExecStart=/home/deviant/www/run.sh TimeoutSec=300 [Install] WantedBy=multi-user.target with a permission of -rw-r–r– 1 root root The run.sh script contains #!/bin/sh service httpd stop rails s -p 80 -d…

Details