mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Fix TypeError when clicking on nick in buffer
This commit is contained in:
parent
3536331f94
commit
eaf3b0a5ac
1 changed files with 2 additions and 1 deletions
|
@ -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)}/>
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue