From d2979989103be38d0f293895aacd6c8838ad4510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 5 Apr 2023 23:45:48 +0200 Subject: [PATCH] Lexical: lint, update test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../compose/editor/plugins/draggable-block-plugin.tsx | 2 +- .../compose/editor/plugins/floating-link-editor-plugin.tsx | 6 +++--- .../editor/plugins/floating-text-format-toolbar-plugin.tsx | 4 ++-- app/soapbox/reducers/__tests__/compose.test.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/soapbox/features/compose/editor/plugins/draggable-block-plugin.tsx b/app/soapbox/features/compose/editor/plugins/draggable-block-plugin.tsx index b8305999f..e33c14956 100644 --- a/app/soapbox/features/compose/editor/plugins/draggable-block-plugin.tsx +++ b/app/soapbox/features/compose/editor/plugins/draggable-block-plugin.tsx @@ -340,7 +340,7 @@ const useDraggableBlockMenu = ( return createPortal( <>
-
+
{isEditMode ? ( <> { diff --git a/app/soapbox/features/compose/editor/plugins/floating-text-format-toolbar-plugin.tsx b/app/soapbox/features/compose/editor/plugins/floating-text-format-toolbar-plugin.tsx index d0d95b37e..df05e2967 100644 --- a/app/soapbox/features/compose/editor/plugins/floating-text-format-toolbar-plugin.tsx +++ b/app/soapbox/features/compose/editor/plugins/floating-text-format-toolbar-plugin.tsx @@ -198,7 +198,7 @@ const BlockTypeDropdown = ({ editor, anchorElem, blockType, icon }: { {showDropDown && (
{editor.isEditable() && ( <> diff --git a/app/soapbox/reducers/__tests__/compose.test.ts b/app/soapbox/reducers/__tests__/compose.test.ts index 5d2d63361..bc53e12de 100644 --- a/app/soapbox/reducers/__tests__/compose.test.ts +++ b/app/soapbox/reducers/__tests__/compose.test.ts @@ -386,7 +386,7 @@ describe('compose reducer', () => { type: actions.COMPOSE_SUGGESTION_TAGS_UPDATE, id: 'home', token: 'aaadken3', - currentTrends: ImmutableList([ + tags: ImmutableList([ TagRecord({ name: 'hashtag' }), ]), };