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

update navitems call as suggested

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
Víctor Losada Hernández
2024-10-24 21:13:49 +02:00
committed by GitHub
parent 422257743e
commit 9770fea3fd

View File

@@ -47,7 +47,7 @@ const UserPage = ({ username = '', brews = [], query = '', error = null, ...prop
);
return (
<ListPage brewCollection={brewCollection} navItems={navItems()} query={query} reportError={(error) =>setCurrentError(error)} />
<ListPage brewCollection={brewCollection} navItems={navItems} query={query} reportError={(error) =>setCurrentError(error)} />
);
};