Skip to content

Commit

Permalink
[wallet-ext] Fix lint (MystenLabs#5947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten authored Nov 8, 2022
1 parent 3b5b756 commit b506a3e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/explorer-client-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
diff:
runs-on: [ubuntu-latest]
outputs:
isClient: ${{ steps.diff.outputs.packages && contains(fromJson(steps.pnpm.outputs.packages), 'sui-explorer') || steps.diff.outputs.isRust }}
isClient: ${{ contains(fromJson(steps.pnpm.outputs.packages), 'sui-explorer') || steps.diff.outputs.isRust }}
steps:
- uses: actions/checkout@v3
- name: Detect Changes (pnpm)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
diff:
runs-on: [ubuntu-latest]
outputs:
isTypescriptSDK: ${{ steps.diff.outputs.packages && contains(fromJson(steps.pnpm.outputs.packages), '@mysten/sui.js') || steps.diff.outputs.isRust }}
isTypescriptSDK: ${{ contains(fromJson(steps.pnpm.outputs.packages), '@mysten/sui.js') || steps.diff.outputs.isRust }}
steps:
- uses: actions/checkout@v3
- name: Detect Changes (pnpm)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wallet-adapter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
diff:
runs-on: [ubuntu-latest]
outputs:
isWalletAdapter: ${{ steps.diff.outputs.packages && contains(fromJson(steps.diff.outputs.packages), 'sui-wallet-adapter') }}
isWalletAdapter: ${{ contains(fromJson(steps.diff.outputs.packages), 'sui-wallet-adapter') }}
steps:
- uses: actions/checkout@v3
- name: Detect Changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wallet-ext-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
diff:
runs-on: ubuntu-latest
outputs:
isWalletExt: ${{ steps.diff.outputs.packages && contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') || steps.diff.outputs.isRust }}
isSrcChange: ${{ steps.diff.outputs.packages && contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') }}
isWalletExt: ${{ contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') || steps.diff.outputs.isRust }}
isSrcChange: ${{ contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') }}
steps:
- uses: actions/checkout@v3
- name: Detect Changes (pnpm)
Expand Down
1 change: 0 additions & 1 deletion apps/wallet/src/ui/app/ApiProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export const DEFAULT_API_ENV = getDefaultApiEnv();

type NetworkTypes = keyof typeof API_ENV;


export const generateActiveNetworkList = (): NetworkTypes[] => {
const excludedNetworks: NetworkTypes[] = [];

Expand Down

0 comments on commit b506a3e

Please sign in to comment.