mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 20:36:43 +00:00
add a comment
This commit is contained in:
1 parent
ff84ded547
commit
52904eea09
1 file changed
+1
@@ -5,6 +5,7 @@ import Markdown from '../../../../shared/naturalcrit/markdown.js';
|
||||
import ErrorIndex from './errors/errorIndex.js';
|
||||
|
||||
const ErrorPage = ({ brew })=>{
|
||||
// Retrieving the error text based on the brew's error code from ErrorIndex
|
||||
const errorText = ErrorIndex({ brew })[brew.HBErrorCode.toString()] || '';
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user