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

Add divs for styling of brewsAwaitingReview

This commit is contained in:
G.Ambatte
2024-06-08 19:59:01 +12:00
parent deef5998c5
commit 7830c7e2eb

View File

@@ -174,13 +174,19 @@ const LockTable = createClass({
render : function () {
return <>
<div className='brewsAwaitingReview'>
<div className='brewBlock'>
<h2>{this.props.title}</h2>
<button onClick={this.clickFn}>
REFRESH
<i className={`fas ${!this.state.searching ? 'fa-search' : 'fa-spin fa-spinner'}`} />
</button>
</div>
{this.state.result[this.props.resultName] &&
<>
<p>Total Reviews Waiting: {this.state.result[this.props.resultName].length}</p>
<hr />
<p>Click a row to copy the Share ID to the clipboard</p>
<table className='lockTable'>
<thead>
<tr>
@@ -203,6 +209,7 @@ const LockTable = createClass({
</table>
</>
}
</div>
</>;
}
});