Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
posaune0423 committed Jul 4, 2024
1 parent 013725f commit 0fdd9e2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ function App() {
useDojoInteractHandler(pixelStore, gameData!);
useSyncedViewStateStore();
//</editor-fold>
// console.log(gameData?.setup.contractComponents.Game);

// const proposal = useComponentValue(gameData!.setup.contractComponents.Proposal, entityId)

// get end date (FIXME: It's not smooth...)
useEffect(() => {
Expand Down
46 changes: 23 additions & 23 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/// <reference types="vite-envs/client" />

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
Expand All @@ -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
}

0 comments on commit 0fdd9e2

Please sign in to comment.