1
0
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:
Hubert Walczak
2021-07-23 10:57:33 +02:00
parent dbe53ec4a6
commit 9c95656cd2
1344 changed files with 78 additions and 2020 deletions
+7 -2
View File
@@ -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>