fix: remove not used imports
This commit is contained in:
parent
d81fd7df47
commit
ca14a002f6
|
@ -1,20 +1,13 @@
|
|||
import ReactMarkdown from 'react-markdown'
|
||||
|
||||
import MarkdownLink from './MarkdownLink'
|
||||
import MarkdownText from './MarkdownText'
|
||||
import MarkdownCode from './MarkdownCode'
|
||||
|
||||
type MarkdownProps = {
|
||||
children: string
|
||||
}
|
||||
|
||||
const Markdown = ({ children }: MarkdownProps) => {
|
||||
return (
|
||||
<ReactMarkdown
|
||||
children={children}
|
||||
components={{ a: MarkdownLink}}
|
||||
/>
|
||||
)
|
||||
return <ReactMarkdown children={children} components={{ a: MarkdownLink }} />
|
||||
}
|
||||
|
||||
export default Markdown
|
||||
|
|
Loading…
Reference in New Issue