Skip to content

Commit

Permalink
wallet-ext: fix ts error after sdk update
Browse files Browse the repository at this point in the history
  • Loading branch information
pchrysochoidis committed Aug 16, 2022
1 parent 5745610 commit 9097170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions wallet/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions wallet/src/ui/app/pages/dapp-tx-approval/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import {
txRequestsSelectors,
} from '_redux/slices/transaction-requests';

import type { SuiJsonValue } from '@mysten/sui.js';
import type { CallArg, SuiJsonValue, TypeTag } from '@mysten/sui.js';
import type { RootState } from '_redux/RootReducer';

import st from './DappTxApprovalPage.module.scss';
import stUserApprove from '_components/user-approve-container/UserApproveContainer.module.scss';

function toList(items: SuiJsonValue[]) {
function toList(items: SuiJsonValue[] | TypeTag[] | CallArg[]) {
if (!items.length) {
return '-';
}
Expand Down

0 comments on commit 9097170

Please sign in to comment.