0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Remove unnecessary empty element

This commit is contained in:
G.Ambatte
2022-09-22 20:25:18 +12:00
parent 09d161f3a6
commit fa0d8e86fc

View File

@@ -101,10 +101,9 @@ const BrewItem = createClass({
const dateFormatString = 'YYYY-MM-DD HH:mm:ss';
return <div className='brewItem'>
{brew.thumbnail ?
{brew.thumbnail &&
<div className='thumbnail' style={{ backgroundImage: `url(${brew.thumbnail})` }} >
</div> :
<></>
</div>
}
<div className='text'>
<h2>{brew.title}</h2>