Skip to content

Commit

Permalink
remove some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Jul 12, 2024
1 parent baac749 commit 010b621
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/iRLeagueManager.Web/Components/InputMarkdown.razor
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
</div>

@code {
private string uuid = "1";

protected override bool TryParseValueFromString(string? value, [MaybeNullWhen(false)] out string result, [NotNullWhen(false)] out string? validationErrorMessage)
{
validationErrorMessage = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@
}
}

private bool formulaHelpOpen = false;

protected override void OnParametersSet()
{
base.OnParametersSet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
private bool showLeagueHiddenAlert = true;
private bool seasonsExpanded = false;

private bool Loading => Bind(League, x => x.Loading);
private new bool Loading => Bind(League, x => x.Loading);

private StatusResultValidator? ResultValidator { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</AuthorizeView>

@code {
private bool Loading => Bind(League, x => x.Loading) || Bind(Reviews, x => x.Loading);
private new bool Loading => Bind(League, x => x.Loading) || Bind(Reviews, x => x.Loading);

private bool categoriesExpanded = false;

Expand Down
2 changes: 1 addition & 1 deletion src/iRLeagueManager.Web/Pages/Settings/Templates.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class Templates : LeagueComponentBase
private string Status { get; set; } = string.Empty;
private string Message { get; set; } = string.Empty;
private IEnumerable<object> Errors { get; set; } = Array.Empty<object>();
private bool Loading { get; set; } = false;
private new bool Loading { get; set; } = false;

private enum TemplateType
{
Expand Down

0 comments on commit 010b621

Please sign in to comment.