1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
David Baker
2020-01-29 17:51:51 +00:00
committed by GitHub
parent e403169e13
commit de6ef9ec90

View File

@@ -81,7 +81,7 @@ export default class RightPanel extends React.Component {
return rps.groupPanelPhase;
} else if (userForPanel) {
// XXX FIXME AAAAAARGH: What is going on with this class!? It takes some of its state
// from its props and some from a store, expect if the contents of the store changes
// from its props and some from a store, except if the contents of the store changes
// while it's mounted in which case it replaces all of its state with that of the store,
// expect it uses a dispatch instead of a normal store listener?
// Unfortunately rewriting this would almost certainly break showing the right panel