peace nirvana and no yellow warning lines in my console

This commit is contained in:
2023-12-05 16:33:04 -07:00
parent 6e49c79cbd
commit 91e946c36d
26 changed files with 75 additions and 397 deletions

View File

@@ -4,10 +4,10 @@
@code {
[Parameter, EditorRequired]
public string Value { get; set; }
public string Value { get; set; } = default!;
[Parameter, EditorRequired]
public Action<string> OnChange { get; set; }
public Action<string> OnChange { get; set; } = default!;
private string randomId = "monaco-editor-" + BitConverter.ToString(new byte[16].Select(b => (byte)new Random().Next(256)).ToArray()).Replace("-", "");