Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bianca Wentzel committed Dec 11, 2024
1 parent 0327f7e commit f745afb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion assets/js/Containers/FrevaGPT/components/CodeBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ function CodeBlock(props) {
<Accordion.Item eventKey="0">
<Accordion.Header>python</Accordion.Header>
<Accordion.Body>
<Highlight className="python">{formatCode(props.title, props.code[0])}</Highlight>
<Highlight className="python">
{formatCode(props.title, props.code[0])}
</Highlight>
</Accordion.Body>
</Accordion.Item>
</Accordion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function PendingAnswerComponent(props) {
case "Code":
case "CodeBlock":
return (
<Col md={{span: 10, offset: 0}}>
<Col md={{ span: 10, offset: 0 }}>
<div className="mb-3">
<Accordion defaultActiveKey="0">
<Accordion.Item eventKey="0">
Expand Down

0 comments on commit f745afb

Please sign in to comment.