Accept JSX into the GenericErrorPage and expose local session vars
This commit is contained in:
parent
76cd829ac9
commit
5c85f4609e
3 changed files with 11 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue