0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 11:32:39 +00:00

Change apostrophe

This commit is contained in:
G.Ambatte
2022-09-03 22:07:23 +12:00
parent 8d10800cb6
commit 76203928d2

View File

@@ -23,7 +23,7 @@ const UserPage = createClass({
}; };
}, },
getInitialState : function() { getInitialState : function() {
const usernameWithS = this.props.username + (this.props.username.endsWith('s') ? `'` : `'s`); const usernameWithS = this.props.username + (this.props.username.endsWith('s') ? `` : `s`);
const brews = _.groupBy(this.props.brews, (brew)=>{ const brews = _.groupBy(this.props.brews, (brew)=>{
return (brew.published ? 'published' : 'private'); return (brew.published ? 'published' : 'private');