7c3cf696fd
* Fix failure to update room info panel on joinrule change Currently, if the join rules are updated, the room info panel is not updated until the panel is re-rendered. This is due to a misuse of `useRoomState`. * Update documentation and types on `useRoomState` This hook is useless without a `mapper` function, so let's mandate it. Also improve the documentation while we're here.