0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 17:42:42 +00:00

space to tabs

This commit is contained in:
Trevor Buckner
2025-01-05 22:53:30 -05:00
parent 49db31426c
commit 5a9e7850c2

View File

@@ -4,7 +4,6 @@ const _ = require('lodash');
import Dialog from '../../../components/dialog.jsx'; import Dialog from '../../../components/dialog.jsx';
const DISMISS_BUTTON = <i className='fas fa-times dismiss' />; const DISMISS_BUTTON = <i className='fas fa-times dismiss' />;
const ErrorBar = (props)=>{ const ErrorBar = (props)=>{
@@ -18,7 +17,7 @@ const ErrorBar = (props)=>{
if(err.id === 'MISMATCH') hasMatchError = true; if(err.id === 'MISMATCH') hasMatchError = true;
return ( return (
<li key={idx}> <li key={idx}>
Line {err.line} : {err.text}, '{err.type}' tag Line {err.line} : {err.text}, '{err.type}' tag
</li> </li>
); );
})} })}
@@ -42,10 +41,10 @@ const ErrorBar = (props)=>{
<div> <div>
<i className='fas fa-exclamation-triangle' /> <i className='fas fa-exclamation-triangle' />
<h2> There are HTML errors in your markup</h2> <h2> There are HTML errors in your markup</h2>
<small> <small>
If these aren't fixed your brew will not render properly when you print it to PDF or share it If these aren't fixed your brew will not render properly when you print it to PDF or share it
</small> </small>
{renderErrors()} {renderErrors()}
</div> </div>
<hr /> <hr />
{renderProtip()} {renderProtip()}