diff --git a/client/homebrew/brewRenderer/errorBar/errorBar.jsx b/client/homebrew/brewRenderer/errorBar/errorBar.jsx
index e951e4aaa..c79e068b0 100644
--- a/client/homebrew/brewRenderer/errorBar/errorBar.jsx
+++ b/client/homebrew/brewRenderer/errorBar/errorBar.jsx
@@ -7,49 +7,49 @@ import Dialog from '../../../components/dialog.jsx';
const DISMISS_BUTTON = ;
-const ErrorBar = (props) => {
- let hasOpenError = false, hasCloseError = false, hasMatchError = false;
+const ErrorBar = (props)=>{
+ let hasOpenError = false, hasCloseError = false, hasMatchError = false;
- const renderErrors = () => (
-
- {_.map(props.errors, (err, idx) => {
- if (err.id === 'OPEN') hasOpenError = true;
- if (err.id === 'CLOSE') hasCloseError = true;
- if (err.id === 'MISMATCH') hasMatchError = true;
- return (
- -
+ const renderErrors = ()=>(
+
+ {_.map(props.errors, (err, idx)=>{
+ if(err.id === 'OPEN') hasOpenError = true;
+ if(err.id === 'CLOSE') hasCloseError = true;
+ if(err.id === 'MISMATCH') hasMatchError = true;
+ return (
+ -
Line {err.line} : {err.text}, '{err.type}' tag
-
- );
- })}
-
- );
+
+ );
+ })}
+
+ );
- const renderProtip = () => (
-
-
Protips!
- {hasOpenError &&
Unmatched opening tag. Close your tags, like this {'
'}. Match types!
}
- {hasCloseError && Unmatched closing tag. Either remove it or check where it was opened.
}
- {hasMatchError && Type mismatch. Closed a tag with a different type.
}
-
- );
+ const renderProtip = ()=>(
+
+
Protips!
+ {hasOpenError &&
Unmatched opening tag. Close your tags, like this {'
'}. Match types!
}
+ {hasCloseError && Unmatched closing tag. Either remove it or check where it was opened.
}
+ {hasMatchError && Type mismatch. Closed a tag with a different type.
}
+
+ );
- if (!props.errors.length) return null;
+ if(!props.errors.length) return null;
- return (
-