Merge pull request #4676 from JorikSchellekens/joriks/fix-irc-resizer

useIRCLayout moved to props
This commit is contained in:
Jorik Schellekens 2020-06-01 17:57:43 +01:00 committed by GitHub
commit c1adee376f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}