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