Add community content reports, map bans, and appeals
This commit is contained in:
@@ -14,6 +14,7 @@ import { GuessMap, type Pin } from "./GuessMap";
|
||||
import { api } from "./StartGame";
|
||||
import { difficulties, type Difficulty, type Bounds } from "@/shared/protocol";
|
||||
import { roundClock } from "@/shared/round-clock";
|
||||
import { ReportContent } from "./ReportContent";
|
||||
export type RoundResult = {
|
||||
score: number;
|
||||
distance: number | null;
|
||||
@@ -197,6 +198,13 @@ export function Game({ id }: { id: string }) {
|
||||
)}
|
||||
<div className="game-header">
|
||||
<Brand />
|
||||
{session && (
|
||||
<ReportContent
|
||||
key={session.round}
|
||||
sessionId={id}
|
||||
round={session.round}
|
||||
/>
|
||||
)}
|
||||
<div className="game-info">
|
||||
<div>
|
||||
<small>ROUND</small>
|
||||
|
||||
Reference in New Issue
Block a user