Accept JSX into the GenericErrorPage and expose local session vars

This commit is contained in:
Travis Ralston 2019-05-29 12:09:04 -06:00
parent 76cd829ac9
commit 5c85f4609e
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() {