0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 13:42:38 +00:00
This commit is contained in:
Víctor Losada Hernández
2024-10-26 19:43:27 +02:00
parent 52311f989d
commit b129ec1469

View File

@@ -18,7 +18,7 @@ const UserPage = ({ username = '', brews = [], query = '', error = null, ...prop
const [currentError, setCurrentError] = useState(error); const [currentError, setCurrentError] = useState(error);
const usernameWithS = username + (username.endsWith('s') ? `` : `s`); const usernameWithS = username + (username.endsWith('s') ? `` : `s`);
const groupedBrews = _.groupBy(brews, brew => brew.published ? 'published' : 'private'); const groupedBrews = _.groupBy(brews, (brew)=>brew.published ? 'published' : 'private');
const brewCollection = [ const brewCollection = [
{ {