Skip to content

Commit 4fd331c

Browse files
committed
fix
1 parent 4718c4c commit 4fd331c

File tree

4 files changed

+3
-32
lines changed

4 files changed

+3
-32
lines changed

client/apps/game/.env.local

Lines changed: 0 additions & 27 deletions
This file was deleted.

client/apps/game/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ dist-ssr
2323
*.sw?
2424
yarn.lock
2525

26-
dev-dist
26+
dev-dist
27+
.env

client/apps/game/src/main.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import GameRenderer from "./three/game-renderer";
2020
import { PWAUpdatePopup } from "./ui/components/pwa-update-popup";
2121
import { LoadingScreen } from "./ui/modules/loading-screen";
2222
import { getRandomBackgroundImage } from "./ui/utils/utils";
23-
import { ETERNUM_CONFIG } from "./utils/config";
2423

2524
declare global {
2625
interface Window {
@@ -67,8 +66,6 @@ async function init() {
6766

6867
const state = useUIStore.getState();
6968

70-
const eternumConfig = await ETERNUM_CONFIG();
71-
7269
const setupResult = await setup(
7370
{ ...dojoConfig },
7471
{ viteVrfProviderAddress: env.VITE_PUBLIC_VRF_PROVIDER_ADDRESS, vitePublicDev: env.VITE_PUBLIC_DEV },

client/apps/landing/dojoConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const {
1414
VITE_PUBLIC_CHAIN,
1515
} = env;
1616

17-
const manifest = getGameManifest(VITE_PUBLIC_CHAIN! as Chain);
17+
const manifest = getGameManifest(VITE_PUBLIC_CHAIN as Chain);
1818

1919
export const dojoConfig = createDojoConfig({
2020
rpcUrl: VITE_PUBLIC_NODE_URL,

0 commit comments

Comments
 (0)