0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-20 22:32:45 +00:00

Remove showHeaderNav prop from Edit and Share page BrewRenderer

This commit is contained in:
G.Ambatte
2025-01-06 22:29:22 +13:00
parent 6e7342d6f0
commit 34f104b406
2 changed files with 34 additions and 36 deletions

View File

@@ -432,7 +432,7 @@ const EditPage = createClass({
{this.renderNavbar()}
{this.props.brew.lock && <LockNotification shareId={this.props.brew.shareId} message={this.props.brew.lock.editMessage} />}
<div className="content">
<div className='content'>
<SplitPane onDragFinish={this.handleSplitMove}>
<Editor
ref={this.editor}
@@ -464,7 +464,6 @@ const EditPage = createClass({
currentEditorCursorPageNum={this.state.currentEditorCursorPageNum}
currentBrewRendererPageNum={this.state.currentBrewRendererPageNum}
allowPrint={true}
showHeaderNav={true}
/>
</SplitPane>
</div>

View File

@@ -116,7 +116,6 @@ const SharePage = (props)=>{
onPageChange={handleBrewRendererPageChange}
currentBrewRendererPageNum={state.currentBrewRendererPageNum}
allowPrint={true}
showHeaderNav={true}
/>
</div>
</div>