mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 23:43:37 +02:00
style: autoformat/lint the codebase
This commit is contained in:
@@ -14,10 +14,7 @@ interface IMarkdownProps {
|
||||
This component is used as a wrapper around Markdown generated content,
|
||||
mainly to provide styles to the html generated.
|
||||
*/
|
||||
export const Markdown: FC<IMarkdownProps> = ({
|
||||
content,
|
||||
...restProps
|
||||
}) => {
|
||||
export const Markdown: FC<IMarkdownProps> = ({ content, ...restProps }) => {
|
||||
useEffect(() => {
|
||||
Prism.highlightAll()
|
||||
}, [])
|
||||
|
||||
Reference in New Issue
Block a user