mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 09:12:45 +00:00
change name of render method to be more discriptive
"UiItems" is not descriptive enough for a render method because most anything that is rendered is part of the UI. This could be left as just `render()`, but `renderAccountPage()` provides best context of what is happening.
This commit is contained in:
@@ -39,7 +39,7 @@ const AccountPage = (props)=>{
|
||||
);
|
||||
};
|
||||
|
||||
const renderUiItems = ()=>{
|
||||
const renderAccountPage = ()=>{
|
||||
return (
|
||||
<>
|
||||
<div className='dataGroup'>
|
||||
@@ -75,7 +75,7 @@ const AccountPage = (props)=>{
|
||||
|
||||
return (
|
||||
<UIPage brew={props.brew}>
|
||||
{renderUiItems()}
|
||||
{renderAccountPage()}
|
||||
</UIPage>);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user