Skip to content

Commit 9b49b8d

Browse files
committed
fix: lint issues
1 parent 2dad9bb commit 9b49b8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package/src/components/Message/MessageSimple/utils/renderText.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,10 @@ export const renderText = <
423423
);
424424

425425
const customRules = {
426+
blockQuote: {
427+
react: blockQuoteReact,
428+
},
429+
codeBlock: { react: codeBlockReact },
426430
// do not render images, we will scrape them out of the message and show on attachment card component
427431
image: { match: () => null },
428432
link: { react: linkReact },
@@ -442,11 +446,7 @@ export const renderText = <
442446
},
443447
}
444448
: {}),
445-
codeBlock: { react: codeBlockReact },
446449
table: { react: tableReact },
447-
blockQuote: {
448-
react: blockQuoteReact,
449-
},
450450
};
451451

452452
return (

0 commit comments

Comments
 (0)