fixed missing return statement

This commit is contained in:
knoxfighter 2017-07-28 20:08:08 +02:00
parent 12561a1b0f
commit 9c3c7b0d2c

View File

@ -3,36 +3,38 @@ import Mod from './Mod';
class ModOverview extends React.Component {
render() {
<div className="box">
<div className="box-header">
<h3 className="box-title">Manage Mods</h3>
</div>
return(
<div className="box">
<div className="box-header">
<h3 className="box-title">Manage Mods</h3>
</div>
<div className="box-body">
<div className="table-responsive">
<table className="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Status</th>
<th>Toggle Status</th>
</tr>
</thead>
<tbody>
{this.props.installedMods.map ( (mod, i) => {
return(
<Mod
key={i}
mod={mod}
{...this.props}
/>
)
})}
</tbody>
</table>
<div className="box-body">
<div className="table-responsive">
<table className="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Status</th>
<th>Toggle Status</th>
</tr>
</thead>
<tbody>
{this.props.installedMods.map ( (mod, i) => {
return(
<Mod
key={i}
mod={mod}
{...this.props}
/>
)
})}
</tbody>
</table>
</div>
</div>
</div>
</div>
);
}
}