0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 04:52:40 +00:00

Add Share ID to lock notification

This commit is contained in:
G.Ambatte
2024-05-10 08:17:09 +12:00
parent bf38f95d25
commit 632efe8b9f

View File

@@ -3,7 +3,14 @@ const React = require('react');
const createClass = require('create-react-class');
const LockNotification = createClass({
displayName : 'LockNotification',
displayName : 'LockNotification',
getDefaultProps : function() {
return {
shareId : 0
};
},
getInitialState : function() {
return {
disableLock : ()=>{}
@@ -11,7 +18,7 @@ const LockNotification = createClass({
},
removeLock : function() {
alert('Not yet implemented');
alert(`Not yet implemented - ID ${this.props.shareId}`);
},
render : function(){