mirror of
https://github.com/lexogrine/dota2-react-hud.git
synced 2026-05-04 12:33:11 +02:00
Fixed naming
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { Dota2 } from "dotagsi";
|
||||
import React from "react";
|
||||
import { Match } from "../../api/interfaces";
|
||||
import MatchBar from "../MatchBar/MatchBar";
|
||||
import SeriesBox from "../MatchBar/SeriesBox";
|
||||
import Observed from "./../Players/Observed";
|
||||
|
||||
|
||||
@@ -7,6 +10,7 @@ import Observed from "./../Players/Observed";
|
||||
|
||||
interface Props {
|
||||
game: Dota2,
|
||||
match: Match | null
|
||||
}
|
||||
|
||||
export default class Layout extends React.Component<Props> {
|
||||
@@ -18,12 +22,13 @@ export default class Layout extends React.Component<Props> {
|
||||
|
||||
|
||||
render() {
|
||||
const { game } = this.props;
|
||||
const { game, match } = this.props;
|
||||
|
||||
|
||||
return (
|
||||
<div className="layout">
|
||||
|
||||
<MatchBar map={game.map} match={match} time={game.map.clock_time} players={game.players} />
|
||||
<SeriesBox map={game.map} match={match} />
|
||||
<Observed player={game.player}/>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user