Skip to content

Commit

Permalink
to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Jun 30, 2024
1 parent 730e6bd commit 7156aaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@polkadot/api-derive": "^11.3.1",
"@polkadot/apps-config": "^0.139.1",
"@polkadot/extension-inject": "^0.47.6",
"@polkagate/extension-dapp": "^0.46.13",
"@polkagate/extension-dapp": "../../../polkadot-js-extension/packages/extension-dapp/build",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@polkadot/api-derive": "^11.3.1",
"@polkadot/apps-config": "^0.139.1",
"@polkadot/extension-inject": "^0.47.6",
"@polkagate/extension-dapp": "../../../polkadot-js-extension/packages/extension-dapp/build",
"@polkagate/extension-dapp": "^0.46.13",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/dapp/src/util/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ const SNAP_VERSION = '>=0.1.14';
const LOCAL_SNAP_ID = 'local:http://localhost:8080';
const NPM_SNAP_ID = 'npm:@polkagate/snap';

export const DEFAULT_SNAP_ORIGIN = //process.env.POLKAGATE_NODE_ENV === 'development' ? LOCAL_SNAP_ID : NPM_SNAP_ID;
LOCAL_SNAP_ID
export const DEFAULT_SNAP_ORIGIN = process.env.POLKAGATE_NODE_ENV === 'development' ? LOCAL_SNAP_ID : NPM_SNAP_ID;

export const SUPPORTED_SNAPS = {
[DEFAULT_SNAP_ORIGIN]: { version: SNAP_VERSION },
Expand Down

0 comments on commit 7156aaa

Please sign in to comment.