From f745afbe636cdcebb4a11635ca4684020e37ac9f Mon Sep 17 00:00:00 2001 From: Bianca Wentzel Date: Wed, 11 Dec 2024 19:15:01 +0100 Subject: [PATCH] Fixed linting --- assets/js/Containers/FrevaGPT/components/CodeBlock.js | 4 +++- .../Containers/FrevaGPT/components/PendingAnswerComponent.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/js/Containers/FrevaGPT/components/CodeBlock.js b/assets/js/Containers/FrevaGPT/components/CodeBlock.js index 681c12d7..fe88bec6 100644 --- a/assets/js/Containers/FrevaGPT/components/CodeBlock.js +++ b/assets/js/Containers/FrevaGPT/components/CodeBlock.js @@ -15,7 +15,9 @@ function CodeBlock(props) { python - {formatCode(props.title, props.code[0])} + + {formatCode(props.title, props.code[0])} + diff --git a/assets/js/Containers/FrevaGPT/components/PendingAnswerComponent.js b/assets/js/Containers/FrevaGPT/components/PendingAnswerComponent.js index 686a26cc..07f9d6b0 100644 --- a/assets/js/Containers/FrevaGPT/components/PendingAnswerComponent.js +++ b/assets/js/Containers/FrevaGPT/components/PendingAnswerComponent.js @@ -45,7 +45,7 @@ function PendingAnswerComponent(props) { case "Code": case "CodeBlock": return ( - +