1
0
mirror of synced 2025-01-19 00:04:05 +01:00

Fixed a small typo in Profile.razor

This commit is contained in:
Farewell_ 2023-12-12 12:57:08 +01:00
parent 4495ee81c9
commit a69491f6f1

View File

@ -454,18 +454,18 @@
@code { @code {
private async Task UpdateMyDonName() private async Task UpdateMyDonName()
{ {
@if (response is not null) await JS.InvokeVoidAsync("updateMyDonNameText", response.MyDonName); @if (response is not null) await Js.InvokeVoidAsync("updateMyDonNameText", response.MyDonName);
} }
private async Task UpdateTitle() private async Task UpdateTitle()
{ {
@if (response is not null) await @if (response is not null) await
JS.InvokeVoidAsync("updateTitleText", response.Title); Js.InvokeVoidAsync("updateTitleText", response.Title);
} }
private async Task UpdateScoreboard(Difficulty difficulty) private async Task UpdateScoreboard(Difficulty difficulty)
{ {
UpdateScores(difficulty); UpdateScores(difficulty);
await JS.InvokeVoidAsync("updateScoreboardText", scoresArray); await Js.InvokeVoidAsync("updateScoreboardText", scoresArray);
} }
} }