Skip to content

fix: Move JS interop to OnAfterRenderAsync in Login.razor#112

Merged
xjanova merged 1 commit intomainfrom
claude/fix-github-actions-Lm9kt
Jan 7, 2026
Merged

fix: Move JS interop to OnAfterRenderAsync in Login.razor#112
xjanova merged 1 commit intomainfrom
claude/fix-github-actions-Lm9kt

Conversation

@xjanova
Copy link
Owner

@xjanova xjanova commented Jan 7, 2026

Fixes 500 error caused by JS interop call during prerendering. Blazor Server requires JS calls to be in OnAfterRenderAsync, not OnInitializedAsync.

Fixes 500 error caused by JS interop call during prerendering.
Blazor Server requires JS calls to be in OnAfterRenderAsync, not OnInitializedAsync.
@xjanova xjanova merged commit 7629cf5 into main Jan 7, 2026
3 checks passed
@xjanova xjanova deleted the claude/fix-github-actions-Lm9kt branch January 7, 2026 15:02
@github-actions github-actions bot added api bug Something isn't working labels Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants