1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-21 07:42:09 +03:00

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}