diff --git a/client/homebrew/navbar/metadata.navitem.jsx b/client/homebrew/navbar/metadata.navitem.jsx index 2642f160c..f4a09e143 100644 --- a/client/homebrew/navbar/metadata.navitem.jsx +++ b/client/homebrew/navbar/metadata.navitem.jsx @@ -32,8 +32,7 @@ const MetadataNav = createClass({ if(!this.props.brew.authors || this.props.brew.authors.length == 0) return 'No authors'; return <> {this.props.brew.authors.map((author, idx, arr)=>{ - let spacer = , ; - if(arr.length - 1 == idx) spacer = <>; + const spacer = arr.length - 1 == idx ? <> : , ; return {author}{spacer}; })} ;