From f5106f13572d090767dc20d04ca7dc64cbb72c98 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 24 Jun 2020 15:45:55 +0200 Subject: [PATCH] Fix missing channel name in setBufferState call --- components/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app.js b/components/app.js index 47e422b..f04451b 100644 --- a/components/app.js +++ b/components/app.js @@ -239,7 +239,7 @@ export default class App extends Component { var channel = msg.params[0]; var topic = msg.params[1]; - this.setBufferState((buf) => { + this.setBufferState(channel, (buf) => { return { ...buf, topic }; }); this.addMessage(channel, msg);