diff --git a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx index 7d6c34f55..cceb961f2 100644 --- a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx +++ b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx @@ -10,7 +10,7 @@ const BrewCleanup = ({})=>{ const [error, setError] = useState(null); const find = async (type)=>{ - + if(type === 'junk') try { setPendingJunk(true); @@ -109,18 +109,18 @@ const BrewCleanup = ({})=>{ {Moment(brew.updatedAt).fromNow()} {brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No last viewed date'} {brew.googleId ? 'Google' : 'Homebrewery'} - + ; })} ; }; const renderFound = (type)=>{ - const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); + const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); return
{deleteButton &&