diff --git a/Iceshrimp.Frontend/Components/Note/NoteBody.razor b/Iceshrimp.Frontend/Components/Note/NoteBody.razor index 6a38c7e0..b4ef5578 100644 --- a/Iceshrimp.Frontend/Components/Note/NoteBody.razor +++ b/Iceshrimp.Frontend/Components/Note/NoteBody.razor @@ -4,12 +4,24 @@ @using Microsoft.Extensions.Localization @inject IStringLocalizer Loc; @inject IJSRuntime Js; -@if (NoteBase.Cw != null) -{ -
- -
- - + @if (Quote != null) {
@@ -59,11 +59,6 @@ StateHasChanged(); } - private bool CheckLen() - { - return Note.Text?.Length > 500; - } - private void OpenQuote() { NavigationManager.NavigateTo($"/notes/{Quote!.Id}");