mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-29 17:42:38 +00:00
move email catching to api
This commit is contained in:
@@ -393,12 +393,9 @@ const VaultPage = (props) => {
|
||||
<span>{totalBrews}</span>
|
||||
</span>
|
||||
{brewCollection.map((brew, index) => {
|
||||
const processedAuthors = brew.authors.map(author =>
|
||||
author.includes('@') ? 'hidden' : author
|
||||
);
|
||||
return (
|
||||
<BrewItem
|
||||
brew={{ ...brew, authors: processedAuthors }}
|
||||
brew={{...brew}}
|
||||
key={index}
|
||||
reportError={props.reportError}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user