Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericdelab committed Jan 19, 2025
1 parent 4718c4c commit 4fd331c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 32 deletions.
27 changes: 0 additions & 27 deletions client/apps/game/.env.local

This file was deleted.

3 changes: 2 additions & 1 deletion client/apps/game/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ dist-ssr
*.sw?
yarn.lock

dev-dist
dev-dist
.env
3 changes: 0 additions & 3 deletions client/apps/game/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import GameRenderer from "./three/game-renderer";
import { PWAUpdatePopup } from "./ui/components/pwa-update-popup";
import { LoadingScreen } from "./ui/modules/loading-screen";
import { getRandomBackgroundImage } from "./ui/utils/utils";
import { ETERNUM_CONFIG } from "./utils/config";

declare global {
interface Window {
Expand Down Expand Up @@ -67,8 +66,6 @@ async function init() {

const state = useUIStore.getState();

const eternumConfig = await ETERNUM_CONFIG();

const setupResult = await setup(
{ ...dojoConfig },
{ viteVrfProviderAddress: env.VITE_PUBLIC_VRF_PROVIDER_ADDRESS, vitePublicDev: env.VITE_PUBLIC_DEV },
Expand Down
2 changes: 1 addition & 1 deletion client/apps/landing/dojoConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const {
VITE_PUBLIC_CHAIN,
} = env;

const manifest = getGameManifest(VITE_PUBLIC_CHAIN! as Chain);
const manifest = getGameManifest(VITE_PUBLIC_CHAIN as Chain);

export const dojoConfig = createDojoConfig({
rpcUrl: VITE_PUBLIC_NODE_URL,
Expand Down

0 comments on commit 4fd331c

Please sign in to comment.