Skip to content

Commit 86600e3

Browse files
committed
Fix: Minor formatting and linting issues in MDX migration
1 parent fa7118b commit 86600e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/RenderMDX.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function RenderMDX({ body }) {
66
// eslint-disable-next-line no-new-func
77
const Component = React.useMemo(() => {
88
try {
9-
return new Function('React', 'Button', `return ${body}`)(React, Button);
9+
return new Function("React", "Button", `return ${body}`)(React, Button);
1010
} catch (e) {
1111
return () => <pre>Error rendering MDX: {e.message}</pre>;
1212
}

src/sections/Company/News-single/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const NewsSingle = ({ data, children }) => {
6767
<Row>
6868
<Col $lg={9} $md={8} $xs={12}>
6969
<SRLWrapper>
70-
{children}
70+
{children}
7171
</SRLWrapper>
7272
</Col>
7373
<Col $lg={3} $md={4} $xs={12}>

0 commit comments

Comments
 (0)