0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 06:12:51 +00:00

Pass all error properties to message generator

This commit is contained in:
G.Ambatte
2023-06-25 17:10:25 +12:00
parent da8e7ec610
commit e5ef0aedd3
4 changed files with 12 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ const ErrorPage = createClass({
},
render : function(){
const errorText = ErrorIndex()[this.props.brew.HBErrorCode.toString()] || '';
const errorText = ErrorIndex(this.props)[this.props.brew.HBErrorCode.toString()] || '';
return <UIPage brew={{ title: 'Crit Fail!' }}>
<div className='dataGroup'>