diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 2a93b94..13c840b 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -1,8 +1,5 @@ import Link from "next/link"; -import { EventStream } from "../components/tankGame/EventsStream"; -import { TankGame } from "../components/tankGame/TankGame"; import { Button } from "../components/ui/button"; -import { Toaster } from "../components/ui/toaster"; import { Connected } from "../components/wagmi/Connected"; import Manifesto from "../components/tankGame/Manifesto"; export default function HomePage() { diff --git a/frontend/src/app/providers.tsx b/frontend/src/app/providers.tsx index 70ed425..d65eaba 100644 --- a/frontend/src/app/providers.tsx +++ b/frontend/src/app/providers.tsx @@ -3,7 +3,6 @@ import { ConnectKitProvider } from 'connectkit' import * as React from 'react' import { WagmiConfig } from 'wagmi' - import { config } from '../wagmi' export function Providers({ children }: { children: React.ReactNode }) { diff --git a/frontend/src/components/tankGame/EventsStream.tsx b/frontend/src/components/tankGame/EventsStream.tsx index 37e5125..847c425 100644 --- a/frontend/src/components/tankGame/EventsStream.tsx +++ b/frontend/src/components/tankGame/EventsStream.tsx @@ -16,7 +16,6 @@ export async function getTankNameFromJoinIndex( } let logs = await getLogs(address); let joinLogs = logs.filter((log) => log.eventName == "PlayerJoined"); - console.log({ joinLogs }); // @ts-ignore let name = joinLogs.find((log) => log.args.tankId === tankId); // @ts-ignore diff --git a/frontend/src/components/tankGame/PlayerDropdown.tsx b/frontend/src/components/tankGame/PlayerDropdown.tsx index 48c8ce3..79ffd3a 100644 --- a/frontend/src/components/tankGame/PlayerDropdown.tsx +++ b/frontend/src/components/tankGame/PlayerDropdown.tsx @@ -16,9 +16,7 @@ export default function PlayerDropdown({ targetTank: string | undefined; gameAddress: Address; }) { - console.log({ gameAddress }) const tanks = useTanks(gameAddress); - console.log({ tanks }); return (