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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user