Got it figured out.
App.razor added following line:
<Routes @rendermode="InteractiveServer" />
Program.cs added the following 2 lines:
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();