about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/EditablePre.razor
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/EditablePre.razor')
-rw-r--r--MatrixRoomUtils.Web/Shared/EditablePre.razor10
1 files changed, 4 insertions, 6 deletions
diff --git a/MatrixRoomUtils.Web/Shared/EditablePre.razor b/MatrixRoomUtils.Web/Shared/EditablePre.razor
index 01bea0d..e759015 100644
--- a/MatrixRoomUtils.Web/Shared/EditablePre.razor
+++ b/MatrixRoomUtils.Web/Shared/EditablePre.razor
@@ -1,8 +1,9 @@
 @inherits InputBase<string>
 <pre id="@Id" class="@CssClass" @onkeyup="Callback" contenteditable="true">@CurrentValue</pre>
+
 @code {
-    protected override bool TryParseValueFromString(string? value, out string result, out string? validationErrorMessage)
-    {
+
+    protected override bool TryParseValueFromString(string? value, out string result, out string? validationErrorMessage) {
         result = value;
         validationErrorMessage = null;
         return true;
@@ -10,9 +11,6 @@
 
     public object Id { get; set; }
 
-    private async Task Callback()
-    {
-        Console.WriteLine("beep");
-    }
+    private async Task Callback() => Console.WriteLine("beep");
 
 }
\ No newline at end of file