From abcce3880d4d30d7078f2741c00da25754a13435 Mon Sep 17 00:00:00 2001 From: tedison <76473430+edisontim@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:32:39 -0500 Subject: [PATCH 1/2] raise limits and remove chat (#2435) --- client/src/dojo/setup.ts | 4 ++-- client/src/ui/modules/navigation/LeftNavigationModule.tsx | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/src/dojo/setup.ts b/client/src/dojo/setup.ts index 2df39000c..1143c47f4 100644 --- a/client/src/dojo/setup.ts +++ b/client/src/dojo/setup.ts @@ -15,13 +15,13 @@ export async function setup({ ...config }: DojoConfig) { const systemCalls = createSystemCalls(network); // fetch all existing entities from torii - const sync = await getSyncEntities(network.toriiClient, network.contractComponents as any, undefined, [], 10_000); + const sync = await getSyncEntities(network.toriiClient, network.contractComponents as any, undefined, [], 20_000); const eventSync = getSyncEvents( network.toriiClient, network.contractComponents.events as any, undefined, [], - 20_000, + 40_000, false, false, ); diff --git a/client/src/ui/modules/navigation/LeftNavigationModule.tsx b/client/src/ui/modules/navigation/LeftNavigationModule.tsx index d5dcee341..0fd85355e 100644 --- a/client/src/ui/modules/navigation/LeftNavigationModule.tsx +++ b/client/src/ui/modules/navigation/LeftNavigationModule.tsx @@ -12,7 +12,6 @@ import { motion } from "framer-motion"; import { Suspense, lazy, memo, useEffect, useMemo } from "react"; import { construction, military, trade, worldStructures } from "../../components/navigation/Config"; import CircleButton from "../../elements/CircleButton"; -import { Chat } from "../chat/Chat"; const EntityDetails = lazy(() => import("../entity-details/EntityDetails").then((module) => ({ default: module.EntityDetails })), @@ -257,11 +256,11 @@ export const LeftNavigationModule = memo(() => { - {!IS_MOBILE && ( + {/* {!IS_MOBILE && (