aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Markdown/CodeBlock.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-18 20:26:32 +0300
committereug-vs <eug-vs@keemail.me>2020-04-18 20:26:32 +0300
commit2c5fa193541eb8b74974731d01312f73951bca17 (patch)
tree4cbc833a14487543d9ef38e66f6028d82f3978af /src/lib/Markdown/CodeBlock.tsx
parent9941754be106accd5ea8ce4b6f8229dd6f4afc9b (diff)
downloadreact-benzin-2c5fa193541eb8b74974731d01312f73951bca17.tar.gz
style: correct some errors with eslint --fix
Diffstat (limited to 'src/lib/Markdown/CodeBlock.tsx')
-rw-r--r--src/lib/Markdown/CodeBlock.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Markdown/CodeBlock.tsx b/src/lib/Markdown/CodeBlock.tsx
index 5b8edec..394458e 100644
--- a/src/lib/Markdown/CodeBlock.tsx
+++ b/src/lib/Markdown/CodeBlock.tsx
@@ -1,8 +1,8 @@
import React from 'react';
-import { ParserPropTypes } from './types';
import { Paper } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
+import { ParserPropTypes } from './types';
const useStyles = makeStyles(theme => ({
root: {
@@ -10,7 +10,7 @@ const useStyles = makeStyles(theme => ({
padding: theme.spacing(1),
overflowX: 'auto',
fontFamily: 'Monospace',
- scrollbarColor: 'auto'
+ scrollbarColor: 'auto',
},
}));
@@ -21,7 +21,7 @@ const CodeBlock: React.FC<ParserPropTypes> = ({ rawLines }) => {
{rawLines.map(line => <pre>{line}</pre>)}
</Paper>
);
-}
+};
export default CodeBlock;