mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 09:52:41 +00:00
add a comment
This commit is contained in:
@@ -5,6 +5,7 @@ import Markdown from '../../../../shared/naturalcrit/markdown.js';
|
|||||||
import ErrorIndex from './errors/errorIndex.js';
|
import ErrorIndex from './errors/errorIndex.js';
|
||||||
|
|
||||||
const ErrorPage = ({ brew })=>{
|
const ErrorPage = ({ brew })=>{
|
||||||
|
// Retrieving the error text based on the brew's error code from ErrorIndex
|
||||||
const errorText = ErrorIndex({ brew })[brew.HBErrorCode.toString()] || '';
|
const errorText = ErrorIndex({ brew })[brew.HBErrorCode.toString()] || '';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user