0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 07:02:38 +00:00

initial screen

This commit is contained in:
Víctor Losada Hernández
2024-01-28 16:08:44 +01:00
parent a8bc6b4e1d
commit 27b4176e23

View File

@@ -62,6 +62,15 @@ const ArchivePage = createClass({
renderFoundBrews() {
const brews = this.state.brewCollection;
console.log('brews: ',brews);
if (this.state.title == '') {
return(
<div className="foundBrews noBrewsyet">
<h3>Whenever you want, just start typing...</h3>
</div>
);
}
if (this.state.error !== null) {
return(
<div className="foundBrews noBrews">