diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js
index efaab557..fa582534 100644
--- a/src/components/CodeEditor/CodeEditor.js
+++ b/src/components/CodeEditor/CodeEditor.js
@@ -179,7 +179,7 @@ class CodeEditor extends Component {
},
}}
className="gatsby-highlight">
-
+
{error && (