aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Markdown/Content.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-05 12:56:41 +0300
committereug-vs <eug-vs@keemail.me>2020-04-05 12:56:41 +0300
commit39e1d32c669545ccc30e0d424323c6a01317c4be (patch)
tree29af728b62bd90f80ad36d947a1cccdb5685cd9f /src/lib/Markdown/Content.tsx
parentbc8e9919925d9d7ee640e8091aebe9596f9e89eb (diff)
downloadreact-benzin-39e1d32c669545ccc30e0d424323c6a01317c4be.tar.gz
refactor: move some logic to InlineSyntax.tsx
Diffstat (limited to 'src/lib/Markdown/Content.tsx')
-rw-r--r--src/lib/Markdown/Content.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Markdown/Content.tsx b/src/lib/Markdown/Content.tsx
index 2a9e2ee..d0a2193 100644
--- a/src/lib/Markdown/Content.tsx
+++ b/src/lib/Markdown/Content.tsx
@@ -20,7 +20,7 @@ const Content: React.FC<ParserPropTypes> = ({ rawLines }) => {
const codeBlockLines = rawLines.splice(0, closeIndex + 1).slice(0, closeIndex);
result = <CodeBlock rawLines={codeBlockLines} />
} else {
- result = <Paragraph data={line} />
+ result = <Paragraph line={line} />
}
return (