Skip to content

Commit

Permalink
next (#2437)
Browse files Browse the repository at this point in the history
* raise limits and remove chat (#2435)

* loading page loading itmes (#2436)

---------

Co-authored-by: tedison <[email protected]>
  • Loading branch information
aymericdelab and edisontim authored Dec 11, 2024
1 parent e8dfac4 commit 3792b90
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/src/dojo/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down
1 change: 1 addition & 0 deletions client/src/ui/modules/LoadingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const LoadingScreen = ({ backgroundImage }: { backgroundImage: string })
<OnboardingContainer backgroundImage={backgroundImage} controller={false}>
<StepContainer tos={false} transition={false} loading={true}>
<div className="mt-10 relative bottom-1 text-center text-xl">{`${statements[currentStatement]}`}</div>
<div className="relative bottom-1 text-center text-xl">{`We are experiencing high loading times. Please be patient.`}</div>
</StepContainer>
</OnboardingContainer>
);
Expand Down
5 changes: 2 additions & 3 deletions client/src/ui/modules/navigation/LeftNavigationModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })),
Expand Down Expand Up @@ -257,11 +256,11 @@ export const LeftNavigationModule = memo(() => {
</motion.div>
</div>
</div>
{!IS_MOBILE && (
{/* {!IS_MOBILE && (
<div className="flex">
<Chat />
</div>
)}
)} */}
</div>
);
});
Expand Down
1 change: 1 addition & 0 deletions landing/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if (!rootElement.innerHTML) {
<div className="flex flex-col items-center animate-pulse">
<img src="/images/eternumloader.png" className="w-32 sm:w-24 lg:w-24 xl:w-28 2xl:mt-2 mx-auto my-8" />
<TypeH1 className="text-center mt-4 text-ellipsis">Loading...</TypeH1>
<div className="relative bottom-1 text-center text-xl">{`We are experiencing high loading times. Please be patient.`}</div>
</div>
</div>,
);
Expand Down

0 comments on commit 3792b90

Please sign in to comment.