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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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