Fix TypeError when clicking on nick in buffer

This commit is contained in:
Simon Ser 2021-03-03 09:41:19 +01:00
parent 3536331f94
commit eaf3b0a5ac

View file

@ -47,9 +47,10 @@ class LogLine extends Component {
render() {
var msg = this.props.message;
var onNickClick = this.props.onNickClick;
function createNick(nick) {
return html`
<${Nick} nick=${nick} onClick=${() => props.onNickClick(nick)}/>
<${Nick} nick=${nick} onClick=${() => onNickClick(nick)}/>
`;
}