0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

add a comment

This commit is contained in:
Gazook89
2024-04-13 20:47:38 -05:00
parent ff84ded547
commit 52904eea09

View File

@@ -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 (