0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 21:42:44 +00:00

initial commit

This commit is contained in:
Víctor Losada Hernández
2025-01-31 23:20:35 +01:00
parent 66bfc8f27b
commit 3ce9bb1310
5 changed files with 44 additions and 35 deletions

View File

@@ -14,7 +14,8 @@ const Stats = createClass({
getInitialState(){
return {
stats : {
totalBrews : 0
totalBrews : 0,
totalPublishedBrews : 0
},
fetching : false
};
@@ -34,6 +35,8 @@ const Stats = createClass({
<dl>
<dt>Total Brew Count</dt>
<dd>{this.state.stats.totalBrews}</dd>
<dt>Total Brews Published</dt>
<dd>{this.state.stats.totalPublishedBrews}</dd>
</dl>
{this.state.fetching