0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 09:12:45 +00:00

Added !brewCollection condition to if statement in VaultPage component.

This commit is contained in:
Víctor Losada Hernández
2024-07-28 11:18:26 +02:00
parent 5a9b77190a
commit cef90f5ff9

View File

@@ -378,7 +378,7 @@ const VaultPage = (props) => {
);
}
if (title === '' && author === '') {
if (title === '' && author === '' && !brewCollection) {
return (
<div className="foundBrews noBrews">
<h3>No search yet</h3>