useIRCLayout moved to props

This commit is contained in:
Jorik Schellekens 2020-06-01 17:34:42 +01:00
parent 419857c29c
commit df18638164

View file

@ -799,7 +799,7 @@ export default class MessagePanel extends React.Component {
}
let ircResizer = null;
if (this.state.useIRCLayout) {
if (this.props.useIRCLayout) {
ircResizer = <IRCTimelineProfileResizer
minWidth={20}
maxWidth={600}