WeaponDamageChart wrapped in div instead of span

This commit is contained in:
felixlinker
2018-08-31 15:02:44 +02:00
parent 8a386c4ece
commit ec70ad5d29

View File

@@ -184,7 +184,7 @@ export default class WeaponDamageChart extends TranslatedComponent {
const code = `${ship.toString()}:${opponent.toString()}`; const code = `${ship.toString()}:${opponent.toString()}`;
return ( return (
<span> <div>
<LineChart <LineChart
xMax={maxRange} xMax={maxRange}
yMax={this.state.maxDps} yMax={this.state.maxDps}
@@ -198,7 +198,7 @@ export default class WeaponDamageChart extends TranslatedComponent {
points={200} points={200}
code={code} code={code}
/> />
</span> </div>
); );
} }
} }