From 6220e4f63faed0ff40696c5d80beaabfe1fcded4 Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Sat, 13 Apr 2024 10:30:04 -0500 Subject: [PATCH] Remove unused defaultProps The defaultProps are not used, and may be a relic of previous error page function. --- client/homebrew/pages/errorPage/errorPage.jsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client/homebrew/pages/errorPage/errorPage.jsx b/client/homebrew/pages/errorPage/errorPage.jsx index 33da05017..113c152d0 100644 --- a/client/homebrew/pages/errorPage/errorPage.jsx +++ b/client/homebrew/pages/errorPage/errorPage.jsx @@ -13,15 +13,6 @@ const ErrorIndex = require('./errors/errorIndex.js'); const ErrorPage = createClass({ displayName : 'ErrorPage', - getDefaultProps : function() { - return { - ver : '0.0.0', - errorId : '', - text : '# Oops \n We could not find a brew with that id. **Sorry!**', - error : {} - }; - }, - render : function(){ const errorText = ErrorIndex(this.props)[this.props.brew.HBErrorCode.toString()] || '';