0
0
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:
Gazook89
2024-04-06 15:30:18 -05:00
parent e7eda1f5ec
commit e1599909bc

View File

@@ -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>);
};