Merge pull request #3043 from matrix-org/travis/check-login-for-config

Accept JSX into the GenericErrorPage and expose local session vars
This commit is contained in:
Travis Ralston 2019-05-31 11:03:41 -06:00 committed by GitHub
commit 1c41629376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View file

@ -20,7 +20,7 @@ import {_t} from "../../languageHandler";
export default class GenericErrorPage extends React.PureComponent {
static propTypes = {
message: PropTypes.string.isRequired,
message: PropTypes.object.isRequired, // jsx to display
};
render() {