diff --git a/src/drafts/MarkdownEditor/Footer.tsx b/src/drafts/MarkdownEditor/Footer.tsx index 6e7af774011..230c58b37c4 100644 --- a/src/drafts/MarkdownEditor/Footer.tsx +++ b/src/drafts/MarkdownEditor/Footer.tsx @@ -50,8 +50,6 @@ FooterButton.displayName = 'MarkdownEditor.FooterButton' const DefaultFooterButtons = memo(() => { const {uploadButtonProps, fileDraggedOver} = useContext(MarkdownEditorContext) - // eslint-disable-next-line @typescript-eslint/no-unused-vars - const {variant, ...uploadButtonPropsRest} = uploadButtonProps || {} return ( <> @@ -60,7 +58,7 @@ const DefaultFooterButtons = memo(() => { {uploadButtonProps && ( <> - + )}