0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 09:32:51 +00:00

Pass the entire lock object to LockNotification

This commit is contained in:
G.Ambatte
2024-06-08 14:59:08 +12:00
parent d995169b3c
commit 6314672109

View File

@@ -396,7 +396,7 @@ const EditPage = createClass({
{this.renderNavbar()}
<div className='content'>
{this.props.brew.lock && <LockNotification shareId={this.props.brew.shareId} message={this.props.brew.lock.editMessage} />}
{this.props.brew.lock && <LockNotification shareId={this.props.brew.shareId} lock={this.props.brew.lock} />}
<SplitPane onDragFinish={this.handleSplitMove}>
<Editor
ref={this.editor}