UI: actually, don't wait for the streaming URL to render

This commit is contained in:
Alex Gleason 2022-02-07 12:20:03 -06:00
parent c084a7a232
commit 2c51054ae4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -670,14 +670,12 @@ class UI extends React.PureComponent {
}
render() {
const { streamingUrl, features, soapbox } = this.props;
const { features, soapbox } = this.props;
const { draggingOver, mobile } = this.state;
const { intl, children, location, dropdownMenuIsOpen, me } = this.props;
// Wait for login to succeed or fail
if (me === null) return null;
// If login didn't fail, wait for streaming to become available
if (me !== false && !streamingUrl) return null;
const handlers = me ? {
help: this.handleHotkeyToggleHelp,