mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 16:52:38 +00:00
Simplify scriptCount logic
This commit is contained in:
@@ -81,7 +81,7 @@ const BrewLookup = createClass({
|
|||||||
<dt>Number of SCRIPT tags detected</dt>
|
<dt>Number of SCRIPT tags detected</dt>
|
||||||
<dd>{this.state.scriptCount}</dd>
|
<dd>{this.state.scriptCount}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{this.state.scriptCount > 0 &&
|
{this.state.scriptCount &&
|
||||||
<div className='cleanButton'>
|
<div className='cleanButton'>
|
||||||
<button onClick={this.cleanScript}>CLEAN BREW</button>
|
<button onClick={this.cleanScript}>CLEAN BREW</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user