mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 09:42:43 +00:00
initial screen
This commit is contained in:
@@ -62,6 +62,15 @@ const ArchivePage = createClass({
|
|||||||
renderFoundBrews() {
|
renderFoundBrews() {
|
||||||
const brews = this.state.brewCollection;
|
const brews = this.state.brewCollection;
|
||||||
console.log('brews: ',brews);
|
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) {
|
if (this.state.error !== null) {
|
||||||
return(
|
return(
|
||||||
<div className="foundBrews noBrews">
|
<div className="foundBrews noBrews">
|
||||||
|
|||||||
Reference in New Issue
Block a user