diff --git a/.github/workflows/ci-front.yml b/.github/workflows/ci-front.yml index 6fa7247..dbff1e7 100644 --- a/.github/workflows/ci-front.yml +++ b/.github/workflows/ci-front.yml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 name: Install pnpm with: version: 8 diff --git a/src/App.tsx b/src/App.tsx index 1005e5f..d134b1c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -63,9 +63,6 @@ function App() { useDojoInteractHandler(pixelStore, gameData!); useSyncedViewStateStore(); // - // console.log(gameData?.setup.contractComponents.Game); - - // const proposal = useComponentValue(gameData!.setup.contractComponents.Proposal, entityId) // get end date (FIXME: It's not smooth...) useEffect(() => { diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index 4ccee0b..5c87f53 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -1,23 +1,23 @@ /// type ImportMetaEnv = { - // Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin - // You probably want to add `/src/vite-env.d.ts` to your .prettierignore - BASE_URL: string; - MODE: string; - DEV: boolean; - PROD: boolean; - PUBLIC_RPC_URL: string; - PUBLIC_TORII_URL: string; - PUBLIC_RELAY_URL: string; - PUBLIC_SERVER_URL: string; - MASTER_ADDRESS: string; - MASTER_PRIVATE_KEY: string; - WORLD_ADDRESS: string; - ACCOUNT_CLASS_HASH: string; - FEETOKEN_ADDRESS: string; - SERVER_PORT: string; - // @user-defined-start + // Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin + // You probably want to add `/src/vite-env.d.ts` to your .prettierignore + BASE_URL: string + MODE: string + DEV: boolean + PROD: boolean + PUBLIC_RPC_URL: string + PUBLIC_TORII_URL: string + PUBLIC_RELAY_URL: string + PUBLIC_SERVER_URL: string + MASTER_ADDRESS: string + MASTER_PRIVATE_KEY: string + WORLD_ADDRESS: string + ACCOUNT_CLASS_HASH: string + FEETOKEN_ADDRESS: string + SERVER_PORT: string + // @user-defined-start /* * Here you can define your own special variables * that would be available on `import.meta.env` but @@ -27,16 +27,16 @@ type ImportMetaEnv = { */ SSR: boolean; // @user-defined-end -}; +} interface ImportMeta { - // Auto-generated by `npx vite-envs update-types` + // Auto-generated by `npx vite-envs update-types` - url: string; + url: string - readonly hot?: import('vite-envs/types/hot').ViteHotContext; + readonly hot?: import('vite-envs/types/hot').ViteHotContext - readonly env: ImportMetaEnv; + readonly env: ImportMetaEnv - glob: import('vite-envs/types/importGlob').ImportGlobFunction; + glob: import('vite-envs/types/importGlob').ImportGlobFunction }