From e6f6d8b4559a93389409740ebc80f0281f1c6782 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Wed, 3 Dec 2025 21:21:02 +0100 Subject: [PATCH] fix linting --- lib/src/Components/Input/RichTextEditor.tsx | 2 +- lib/src/Components/Input/TextEditorMenu.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/Components/Input/RichTextEditor.tsx b/lib/src/Components/Input/RichTextEditor.tsx index 5e77989b..01045291 100644 --- a/lib/src/Components/Input/RichTextEditor.tsx +++ b/lib/src/Components/Input/RichTextEditor.tsx @@ -98,7 +98,7 @@ export function RichTextEditor({ className={`editor-wrapper tw:border-base-content/20 tw:rounded-box tw:border tw:flex tw:flex-col tw:flex-1 tw:min-h-0`} > <> - {showMenu && editor ? : null} + {showMenu ? : null} diff --git a/lib/src/Components/Input/TextEditorMenu.tsx b/lib/src/Components/Input/TextEditorMenu.tsx index 7c5452f0..8642cdae 100644 --- a/lib/src/Components/Input/TextEditorMenu.tsx +++ b/lib/src/Components/Input/TextEditorMenu.tsx @@ -77,7 +77,7 @@ export const TextEditorMenu = ({ editor }: { editor: Editor }) => {
  • -
    +
  • {
  • -
    +
  • {
  • -
    +
  • {/*
  • @@ -135,7 +135,7 @@ export const TextEditorMenu = ({ editor }: { editor: Editor }) => {
  • -
    +