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

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

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}