0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 09:52:41 +00:00

Slight change to isMounted logic

This commit is contained in:
G.Ambatte
2021-07-29 19:24:36 +12:00
parent cac5aa2475
commit 577a434e17

View File

@@ -195,12 +195,12 @@ const BrewRenderer = createClass({
<div className='pages' ref='pages'> <div className='pages' ref='pages'>
{/* Apply CSS and render pages from Markdown tab */} {/* Apply CSS and render pages from Markdown tab */}
{this.state.isMounted {this.state.isMounted
? &&
<> <>
{this.renderStyle()} {this.renderStyle()}
{this.renderPages()} {this.renderPages()}
</> </>
: null} }
</div> </div>
</div> </div>
</Frame> </Frame>