mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 19:32:42 +00:00
Remove unnecessary empty element
This commit is contained in:
@@ -101,10 +101,9 @@ const BrewItem = createClass({
|
|||||||
const dateFormatString = 'YYYY-MM-DD HH:mm:ss';
|
const dateFormatString = 'YYYY-MM-DD HH:mm:ss';
|
||||||
|
|
||||||
return <div className='brewItem'>
|
return <div className='brewItem'>
|
||||||
{brew.thumbnail ?
|
{brew.thumbnail &&
|
||||||
<div className='thumbnail' style={{ backgroundImage: `url(${brew.thumbnail})` }} >
|
<div className='thumbnail' style={{ backgroundImage: `url(${brew.thumbnail})` }} >
|
||||||
</div> :
|
</div>
|
||||||
<></>
|
|
||||||
}
|
}
|
||||||
<div className='text'>
|
<div className='text'>
|
||||||
<h2>{brew.title}</h2>
|
<h2>{brew.title}</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user