mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 08:22:42 +00:00
Add support for custom HBErrorCodes
This commit is contained in:
@@ -23,7 +23,7 @@ const ErrorPage = createClass({
|
||||
},
|
||||
|
||||
render : function(){
|
||||
const errorText = ErrorIndex()[this.props.brew.status.toString()] || '';
|
||||
const errorText = ErrorIndex()[this.props.brew.HBErrorCode.toString()] || '';
|
||||
|
||||
return <UIPage brew={{ title: 'Crit Fail!' }}>
|
||||
<div className='dataGroup'>
|
||||
|
||||
Reference in New Issue
Block a user