mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 10:06:58 +00:00
Added !brewCollection condition to if statement in VaultPage component.
This commit is contained in:
1 parent
5a9b77190a
commit
cef90f5ff9
1 file changed
+1
-1
@@ -378,7 +378,7 @@ const VaultPage = (props) => {
|
||||
);
|
||||
}
|
||||
|
||||
if (title === '' && author === '') {
|
||||
if (title === '' && author === '' && !brewCollection) {
|
||||
return (
|
||||
<div className="foundBrews noBrews">
|
||||
<h3>No search yet</h3>
|
||||
|
||||
Reference in new issue
Block a user